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

Disable sort optimization on search collapsing #60838

Merged
merged 2 commits into from
Aug 6, 2020

Conversation

jimczi
Copy link
Contributor

@jimczi jimczi commented Aug 6, 2020

Collapse search queries that sort by a field can throw an ArrayStoreException due to a bug in the sort optimization introduced in 7.7.0.
Search collapsing were not supposed to be eligible for this sort optimization so this change explicitly filters them from this new feature.

Collapse search queries that sort by a field can throw
an ArrayStoreException due to a bug in the [sort optimization](elastic#51852)
introduced in 7.7.0. Search collapsing were not supposed to
be eligible for this sort optimization so this change explicitly
filters them from this new feature.
@jimczi jimczi added >bug :Search/Search Search-related issues that do not fall into other categories v8.0.0 v7.10.0 v7.9.1 labels Aug 6, 2020
@jimczi jimczi requested a review from mayya-sharipova August 6, 2020 16:55
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Search)

@elasticmachine elasticmachine added the Team:Search Meta label for search team label Aug 6, 2020
Copy link
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.

@jimczi Thanks Jim, makes sense

@jimczi jimczi merged commit d86243f into elastic:master Aug 6, 2020
@jimczi jimczi deleted the disable_sort_optim_collapsing branch August 6, 2020 19:36
jimczi added a commit that referenced this pull request Aug 6, 2020
Collapse search queries that sort by a field can throw
an ArrayStoreException due to a bug in the [sort optimization](#51852)
introduced in 7.7.0. Search collapsing were not supposed to
be eligible for this sort optimization so this change explicitly
filters them from this new feature.
jimczi added a commit that referenced this pull request Aug 6, 2020
Collapse search queries that sort by a field can throw
an ArrayStoreException due to a bug in the [sort optimization](#51852)
introduced in 7.7.0. Search collapsing were not supposed to
be eligible for this sort optimization so this change explicitly
filters them from this new feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v7.9.1 v7.10.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants