Class TwoGramTokenizerProvider
- java.lang.Object
-
- com.atlassian.confluence.plugins.opensearch.analysis.tokenizer.TwoGramTokenizerProvider
-
- All Implemented Interfaces:
OpenSearchTokenizerProvider
public class TwoGramTokenizerProvider extends Object implements OpenSearchTokenizerProvider
Creates an ngram tokenizer with min and max gram equal to 2- Since:
- 8.8
-
-
Field Summary
Fields Modifier and Type Field Description static String
TOKENIZER_NAME
-
Constructor Summary
Constructors Constructor Description TwoGramTokenizerProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opensearch.client.opensearch._types.analysis.Tokenizer
createTokenizer()
String
getName()
-
-
-
Field Detail
-
TOKENIZER_NAME
public static final String TOKENIZER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
createTokenizer
public org.opensearch.client.opensearch._types.analysis.Tokenizer createTokenizer()
- Specified by:
createTokenizer
in interfaceOpenSearchTokenizerProvider
-
getName
public String getName()
- Specified by:
getName
in interfaceOpenSearchTokenizerProvider
-
-