Skip to content

can't use script_score in function_score #989

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
yulinxp opened this issue Apr 8, 2025 · 0 comments
Closed

can't use script_score in function_score #989

yulinxp opened this issue Apr 8, 2025 · 0 comments

Comments

@yulinxp
Copy link

yulinxp commented Apr 8, 2025

Java API client version

8.17.4

Java version

17

Elasticsearch Version

8.17

Problem description

I'd like to use script_score in function_score.
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html

Image

But i can't find the right method in javadoc

https://artifacts.elastic.co/javadoc/co/elastic/clients/elasticsearch-java/8.17.4/co/elastic/clients/elasticsearch/_types/query_dsl/FunctionScoreQuery.html

@yulinxp yulinxp closed this as completed Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant