-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…96010) This fixes the case when a `_search` request is targeting multiple aliases that point to the _same data stream_, some being filtered and some unfiltered. Before this fix, such a scenario would apply the encountered filters as `should` conditions on a `BoolQuery`, despite the request containing an unfiltered (match_all) alias for the same data stream. This fixes this scenario to disregard the filters when an unfiltered alias is encountered in the resolved expressions, targeting the same data stream. This also fixes the same scenario for a request that targets the data stream name and a filtered alias (the expected result is that the filter should be disregarded) Fixes #95786
- Loading branch information
Showing
5 changed files
with
137 additions
and
17 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: 95865 | ||
summary: Fix searching a filtered and unfiltered data stream alias | ||
area: Data streams | ||
type: bug | ||
issues: | ||
- 95786 |
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
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