-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Add missing getters required to reconstruct FunctionScoreQuery #137656
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
Conversation
|
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
|
Thanks @mrkm4ntr ! Change seems rather straightforward and looks ok as far as changing the API goes, since we already have getters for the other members. Let me run CI to get some green checks :) |
|
buildkite test this please |
|
@mrkm4ntr could you please merge the latest changes from |
|
buildkite test this please |
|
buildkite test this please |
pmpailis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
CI is green, so will proceed with merging this PR! Thanks @mrkm4ntr ! |
I would like to modify the sub-query of the FunctionScoreQuery after its construction, but since the query field is final, reconstruction is necessary. However, because scoreMode and maxBoost are not accessible, reconstruction is not possible. Therefore, I would like to add getters for these fields.