Skip to content

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