Skip to content

Conversation

romseygeek
Copy link
Contributor

Backports the following commits to 9.1:

…astic#134451)

We were using a valueFetcher lambda and an Analyzer as part of the
equals  and hashCode implementations which could easily compare as
unequal for  logically equal queries.  We can safely just use the inner
query for comparisons  and hashcodes as the results of the outer query
are identical to running the  inner query against a shard with indexed
positions.

Fixes elastic#134432
@romseygeek romseygeek added :Search/Search Search-related issues that do not fall into other categories :StorageEngine/Mapping The storage related side of mappings >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Search Meta label for search team Team:StorageEngine labels Sep 10, 2025
@elasticsearchmachine elasticsearchmachine merged commit 7ab4874 into elastic:9.1 Sep 10, 2025
34 checks passed
@romseygeek romseygeek deleted the backport/9.1/pr-134451 branch September 10, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Search/Search Search-related issues that do not fall into other categories :StorageEngine/Mapping The storage related side of mappings Team:Search Meta label for search team Team:StorageEngine v9.1.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants