Package org.opensearch.analysis.common
Class FingerprintAnalyzerProvider
java.lang.Object
org.opensearch.index.AbstractIndexComponent
org.opensearch.index.analysis.AbstractIndexAnalyzerProvider<org.apache.lucene.analysis.Analyzer>
org.opensearch.analysis.common.FingerprintAnalyzerProvider
- All Implemented Interfaces:
Provider<org.apache.lucene.analysis.Analyzer>,AnalyzerProvider<org.apache.lucene.analysis.Analyzer>,IndexComponent
public class FingerprintAnalyzerProvider extends AbstractIndexAnalyzerProvider<org.apache.lucene.analysis.Analyzer>
Builds an OpenRefine Fingerprint analyzer. Uses the default settings from the various components
(Standard Tokenizer and lowercase + stop + fingerprint + ascii-folding filters)
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_MAX_OUTPUT_SIZEstatic charDEFAULT_SEPARATORstatic org.apache.lucene.analysis.CharArraySetDEFAULT_STOP_WORDSstatic ParseFieldMAX_OUTPUT_SIZEstatic ParseFieldSEPARATORFields inherited from class org.opensearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger -
Method Summary
Modifier and Type Method Description FingerprintAnalyzerget()static charparseSeparator(Settings settings)Methods inherited from class org.opensearch.index.analysis.AbstractIndexAnalyzerProvider
name, scope
-
Field Details
-
SEPARATOR
-
MAX_OUTPUT_SIZE
-
DEFAULT_MAX_OUTPUT_SIZE
public static int DEFAULT_MAX_OUTPUT_SIZE -
DEFAULT_STOP_WORDS
public static org.apache.lucene.analysis.CharArraySet DEFAULT_STOP_WORDS -
DEFAULT_SEPARATOR
public static final char DEFAULT_SEPARATOR- See Also:
- Constant Field Values
-
-
Method Details
-
get
-
parseSeparator
- Throws:
java.lang.IllegalArgumentException
-