Package org.elasticsearch.test
Class ESTestCase.TestAnalysis
- java.lang.Object
-
- org.elasticsearch.test.ESTestCase.TestAnalysis
-
- Enclosing class:
- ESTestCase
public static final class ESTestCase.TestAnalysis extends java.lang.Object
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
Fields Modifier and Type Field Description java.util.Map<java.lang.String,CharFilterFactory>
charFilter
IndexAnalyzers
indexAnalyzers
java.util.Map<java.lang.String,TokenFilterFactory>
tokenFilter
java.util.Map<java.lang.String,TokenizerFactory>
tokenizer
-
Constructor Summary
Constructors Constructor Description TestAnalysis(IndexAnalyzers indexAnalyzers, java.util.Map<java.lang.String,TokenFilterFactory> tokenFilter, java.util.Map<java.lang.String,TokenizerFactory> tokenizer, java.util.Map<java.lang.String,CharFilterFactory> charFilter)
-
-
-
Field Detail
-
indexAnalyzers
public final IndexAnalyzers indexAnalyzers
-
tokenFilter
public final java.util.Map<java.lang.String,TokenFilterFactory> tokenFilter
-
tokenizer
public final java.util.Map<java.lang.String,TokenizerFactory> tokenizer
-
charFilter
public final java.util.Map<java.lang.String,CharFilterFactory> charFilter
-
-
Constructor Detail
-
TestAnalysis
public TestAnalysis(IndexAnalyzers indexAnalyzers, java.util.Map<java.lang.String,TokenFilterFactory> tokenFilter, java.util.Map<java.lang.String,TokenizerFactory> tokenizer, java.util.Map<java.lang.String,CharFilterFactory> charFilter)
-
-