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 ParseFieldSEPARATOR-
Fields inherited from class org.opensearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FingerprintAnalyzerget()static charparseSeparator(Settings settings)-
Methods inherited from class org.opensearch.index.analysis.AbstractIndexAnalyzerProvider
name, scope
-
Methods inherited from class org.opensearch.index.AbstractIndexComponent
getIndexSettings, index
-
-
-
-
Field Detail
-
SEPARATOR
public static ParseField SEPARATOR
-
MAX_OUTPUT_SIZE
public static ParseField 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 Detail
-
get
public FingerprintAnalyzer get()
-
parseSeparator
public static char parseSeparator(Settings settings) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
-