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.
Avoid double fields resolution in FetchFieldsPhase
We have moved fetching of metadata fields to FetchFieldsPhase with elastic#106325 . For backwards compatibility, metadata fields requested via `stored_fields` are returned even when they match a wildcard expression, which differs from how patterns are resolved via `fields`. Instead of calling getMatchingFieldNames and getFieldType twice per field, this distinction is now included in FieldFetcher#create via a predicate
- Loading branch information
Showing
2 changed files
with
22 additions
and
21 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
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