Package org.elasticsearch.test
Class ESTestCase.TestAnalysis
java.lang.Object
org.elasticsearch.test.ESTestCase.TestAnalysis
- Enclosing class:
- ESTestCase
This cute helper class just holds all analysis building blocks that are used
to build IndexAnalyzers. This is only for testing since in production we only need the
result and we don't even expose it there.
-
Field Summary
Modifier and TypeFieldDescriptionfinal Map<String,
CharFilterFactory> final IndexAnalyzers
final Map<String,
TokenFilterFactory> final Map<String,
TokenizerFactory> -
Constructor Summary
ConstructorDescriptionTestAnalysis
(IndexAnalyzers indexAnalyzers, Map<String, TokenFilterFactory> tokenFilter, Map<String, TokenizerFactory> tokenizer, Map<String, CharFilterFactory> charFilter) -
Method Summary
-
Field Details
-
indexAnalyzers
-
tokenFilter
-
tokenizer
-
charFilter
-
-
Constructor Details
-
TestAnalysis
public TestAnalysis(IndexAnalyzers indexAnalyzers, Map<String, TokenFilterFactory> tokenFilter, Map<String, TokenizerFactory> tokenizer, Map<String, CharFilterFactory> charFilter)
-