Skip to content

LUCENE-10089: Disable numeric sort optimization early#291

Merged
jimczi merged 2 commits intoapache:mainfrom
jimczi:disable_sort_optim
Sep 13, 2021
Merged

LUCENE-10089: Disable numeric sort optimization early#291
jimczi merged 2 commits intoapache:mainfrom
jimczi:disable_sort_optim

Conversation

@jimczi
Copy link
Copy Markdown
Contributor

@jimczi jimczi commented Sep 10, 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.

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.
Copy link
Copy Markdown
Contributor

@mayya-sharipova mayya-sharipova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jimczi. Great notice! LGTM

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.

2 participants