forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ESQL: Fix single value query (elastic#102317)
This fixes the lucene query that we use to push "is this a single valued field?" into lucene. In particular, it was erroniously turning itself into a noop any time it saw a field that could have either 0 or 1 value per document. It's right and good for the query to noop itself only when a field can only have 1 value per document. This adds logic to check for that. Closes elastic#102298
- Loading branch information
Showing
3 changed files
with
66 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 102317 | ||
summary: "ESQL: Fix single value query" | ||
area: ES|QL | ||
type: bug | ||
issues: | ||
- 102298 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters