Skip to content
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

LUCENE-10089: Disable numeric sort optimization early #2576

Merged

Conversation

mayya-sharipova
Copy link
Contributor

@mayya-sharipova mayya-sharipova commented Sep 16, 2021

This commit moves the responsibility to disable
the numeric sort optimization on comparators to the SortField.
This way we don't need to apply the logic on every top field collectors.

backport for: apache/lucene#291

Co-authored-by: Jim Ferenczi jim.ferenczi@elastic.co

This commit moves the responsibility to disable
the numeric sort optimization on comparators to the SortField.
This way we don't need to apply the logic on every top field collectors.

Co-authored-by: Jim Ferenczi <jim.ferenczi@elastic.co>
@mayya-sharipova mayya-sharipova merged commit 9527475 into apache:branch_8x Sep 16, 2021
@mayya-sharipova mayya-sharipova deleted the disable_sort_optim-backport branch September 16, 2021 13:29
asfgit pushed a commit that referenced this pull request Sep 16, 2021
This commit moves the responsibility to disable
the numeric sort optimization on comparators to the SortField.
This way we don't need to apply the logic on every top field collectors.

Co-authored-by: Jim Ferenczi <jim.ferenczi@elastic.co>
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

Successfully merging this pull request may close these issues.

1 participant