-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move index analyzer management to FieldMapper/MapperService #63937
Merged
Merged
Changes from 30 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
34977e4
Centralize index analyzer management
romseygeek 3d8dfc7
Merge remote-tracking branch 'origin/master' into mapper/indexanalyzer
romseygeek d098bcd
precommit
romseygeek 3a8807a
Merge remote-tracking branch 'origin/master' into mapper/indexanalyzer
romseygeek 4cccf09
delegating analyzers
romseygeek c9437df
precommit
romseygeek 1885058
Merge remote-tracking branch 'origin/master' into mapper/indexanalyzer
romseygeek 32382ad
position increments on annotations
romseygeek 0b963be
Merge remote-tracking branch 'origin/master' into mapper/indexanalyzer
romseygeek d6adf80
Merge remote-tracking branch 'origin/master' into mapper/indexanalyzer
romseygeek f1b8095
Move to returning maps
romseygeek bb81e25
imports
romseygeek 2585186
Merge remote-tracking branch 'origin/master' into mapper/indexanalyzer
romseygeek 4f3da1d
Make everything a NamedAnalyzer
romseygeek be55995
Merge remote-tracking branch 'origin/master' into mapper/indexanalyzer
romseygeek 73044b5
warnings
romseygeek 25f3c0d
sigtext
romseygeek c04c7d1
Collapse ParametrizedFieldMapper into FieldMapper
romseygeek 639126e
SAYT shouldn't try to add fields if index=false and store=false
romseygeek feea031
Merge remote-tracking branch 'origin/master' into mapper/indexanalyzer
romseygeek 9ee7dda
Merge branch 'mapper/fieldmapper' into mapper/indexanalyzer
romseygeek 88ad7e5
Make indexAnalyzers passed via constructor
romseygeek 040ec02
Merge remote-tracking branch 'origin/master' into mapper/indexanalyzer
romseygeek 0d2a081
SearchAsYouType tests
romseygeek 7b28b2c
Merge remote-tracking branch 'origin/master' into mapper/indexanalyzer
romseygeek 22357b7
Merge branch 'master' into mapper/indexanalyzer
elasticmachine 4793097
Merge branch 'master' into mapper/indexanalyzer
elasticmachine a9051a4
Merge remote-tracking branch 'origin/master' into mapper/indexanalyzer
romseygeek 342525c
Merge remote-tracking branch 'romseygeek/mapper/indexanalyzer' into m…
romseygeek 5099a60
Don't call FetchContext#mapperService
romseygeek e4f7882
No really, don't use mapperservice
romseygeek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes are due to position increment handling moving directly into
TextParams.Analyzers
, which simplifies a lot of the palaver around building analyzers for text fields. SearchAsYouType doesn't actually expose a position increment field so doesn't get the added benefits here, but it still requires a small refactor.