Class CompoundWordTokenFilterBase
- java.lang.Object
-
- org.opensearch.client.opensearch._types.analysis.TokenFilterBase
-
- org.opensearch.client.opensearch._types.analysis.CompoundWordTokenFilterBase
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
- Direct Known Subclasses:
DictionaryDecompounderTokenFilter
,HyphenationDecompounderTokenFilter
public abstract class CompoundWordTokenFilterBase extends TokenFilterBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
CompoundWordTokenFilterBase.AbstractBuilder<BuilderT extends CompoundWordTokenFilterBase.AbstractBuilder<BuilderT>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
CompoundWordTokenFilterBase(CompoundWordTokenFilterBase.AbstractBuilder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
hyphenationPatternsPath()
API name:hyphenation_patterns_path
java.lang.Integer
maxSubwordSize()
API name:max_subword_size
java.lang.Integer
minSubwordSize()
API name:min_subword_size
java.lang.Integer
minWordSize()
API name:min_word_size
java.lang.Boolean
onlyLongestMatch()
API name:only_longest_match
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static <BuilderT extends CompoundWordTokenFilterBase.AbstractBuilder<BuilderT>>
voidsetupCompoundWordTokenFilterBaseDeserializer(ObjectDeserializer<BuilderT> op)
java.util.List<java.lang.String>
wordList()
API name:word_list
java.lang.String
wordListPath()
API name:word_list_path
-
Methods inherited from class org.opensearch.client.opensearch._types.analysis.TokenFilterBase
serialize, setupTokenFilterBaseDeserializer, version
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Constructor Detail
-
CompoundWordTokenFilterBase
protected CompoundWordTokenFilterBase(CompoundWordTokenFilterBase.AbstractBuilder<?> builder)
-
-
Method Detail
-
hyphenationPatternsPath
@Nullable public final java.lang.String hyphenationPatternsPath()
API name:hyphenation_patterns_path
-
maxSubwordSize
@Nullable public final java.lang.Integer maxSubwordSize()
API name:max_subword_size
-
minSubwordSize
@Nullable public final java.lang.Integer minSubwordSize()
API name:min_subword_size
-
minWordSize
@Nullable public final java.lang.Integer minWordSize()
API name:min_word_size
-
onlyLongestMatch
@Nullable public final java.lang.Boolean onlyLongestMatch()
API name:only_longest_match
-
wordList
public final java.util.List<java.lang.String> wordList()
API name:word_list
-
wordListPath
@Nullable public final java.lang.String wordListPath()
API name:word_list_path
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
- Overrides:
serializeInternal
in classTokenFilterBase
-
setupCompoundWordTokenFilterBaseDeserializer
protected static <BuilderT extends CompoundWordTokenFilterBase.AbstractBuilder<BuilderT>> void setupCompoundWordTokenFilterBaseDeserializer(ObjectDeserializer<BuilderT> op)
-
-