Skip to content

Conversation

@cbuescher
Copy link
Member

Some internal refactorings to the AnalysisRegistry, spin-off from #40782.
Mostly readability changes and reduction of some method sizes.

Some internal refactorings to the AnalysisRegistry, spin-off from elastic#40782.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

Copy link
Contributor

@romseygeek romseygeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, anything that makes this easier to read is a bonus

final Map<String, TokenizerFactory> tokenizerFactories = buildTokenizerFactories(indexSettings);
final Map<String, TokenFilterFactory> tokenFilterFactories = buildTokenFilterFactories(indexSettings);
final Map<String, AnalyzerProvider<?>> analyzierFactories = buildAnalyzerFactories(indexSettings);
final Map<String, AnalyzerProvider<?>> analyzerFactories = buildAnalyzerFactories(indexSettings);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@cbuescher cbuescher merged commit cbf1150 into elastic:master May 24, 2019
cbuescher pushed a commit that referenced this pull request May 24, 2019
Some internal refactorings to the AnalysisRegistry, spin-off from #40782.
gurkankaymak pushed a commit to gurkankaymak/elasticsearch that referenced this pull request May 27, 2019
Some internal refactorings to the AnalysisRegistry, spin-off from elastic#40782.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants