We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PUT /t/test/1 { "text": "baseball bats" } GET /t/test/_search?explain { "query": { "function_score": { "score_mode": "sum", "boost_mode": "replace", "functions": [ { "filter": { "term": { "text": "baseball" } } } ] } } }
Throws NPE. With a function (eg boost_factor) it doesn't:
GET /t/test/_search?explain { "query": { "function_score": { "score_mode": "sum", "boost_mode": "replace", "functions": [ { "filter": { "term": { "text": "baseball" } } }, "boost_factor": 1 ] } } }
The text was updated successfully, but these errors were encountered:
I guess we should throw a parse exception here no?
Sorry, something went wrong.
ah @brwe has is already assigned... I almost took it... :)
Throw exception if function in function score query is null
2676c64
closes elastic#6292
a6e4406
closes #6292 #6784
6d8fff6
30cfcbb
e326e4b
closes elastic#6292 elastic#6784
brwe
Successfully merging a pull request may close this issue.
Throws NPE. With a function (eg boost_factor) it doesn't:
The text was updated successfully, but these errors were encountered: