Class HyphenationDecompounderTokenFilter
java.lang.Object
co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase
co.elastic.clients.elasticsearch._types.analysis.CompoundWordTokenFilterBase
co.elastic.clients.elasticsearch._types.analysis.HyphenationDecompounderTokenFilter
- All Implemented Interfaces:
TokenFilterDefinitionVariant,JsonpSerializable
@JsonpDeserializable
public class HyphenationDecompounderTokenFilter
extends CompoundWordTokenFilterBase
implements TokenFilterDefinitionVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.analysis.CompoundWordTokenFilterBase
CompoundWordTokenFilterBase.AbstractBuilder<BuilderT extends CompoundWordTokenFilterBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<HyphenationDecompounderTokenFilter>Json deserializer forHyphenationDecompounderTokenFilter -
Method Summary
Modifier and TypeMethodDescriptionTokenFilterDefinition variant kind.final StringRequired - Path to an Apache FOP (Formatting Objects Processor) XML hyphenation pattern file.final BooleanIftrue, do not allow overlapping tokens.final BooleanIftrue, do not match sub tokens in tokens that are in the word list.of(Function<HyphenationDecompounderTokenFilter.Builder, ObjectBuilder<HyphenationDecompounderTokenFilter>> fn) protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupHyphenationDecompounderTokenFilterDeserializer(ObjectDeserializer<HyphenationDecompounderTokenFilter.Builder> op) Methods inherited from class co.elastic.clients.elasticsearch._types.analysis.CompoundWordTokenFilterBase
maxSubwordSize, minSubwordSize, minWordSize, onlyLongestMatch, setupCompoundWordTokenFilterBaseDeserializer, wordList, wordListPathMethods inherited from class co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase
serialize, setupTokenFilterBaseDeserializer, toString, versionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.json.JsonpSerializable
serializeMethods inherited from interface co.elastic.clients.elasticsearch._types.analysis.TokenFilterDefinitionVariant
_toTokenFilterDefinition
-
Field Details
-
_DESERIALIZER
Json deserializer forHyphenationDecompounderTokenFilter
-
-
Method Details
-
of
-
_tokenFilterDefinitionKind
TokenFilterDefinition variant kind.- Specified by:
_tokenFilterDefinitionKindin interfaceTokenFilterDefinitionVariant
-
hyphenationPatternsPath
Required - Path to an Apache FOP (Formatting Objects Processor) XML hyphenation pattern file. This path must be absolute or relative to theconfiglocation. Only FOP v1.2 compatible files are supported.API name:
hyphenation_patterns_path -
noSubMatches
Iftrue, do not match sub tokens in tokens that are in the word list. Defaults tofalse.API name:
no_sub_matches -
noOverlappingMatches
Iftrue, do not allow overlapping tokens. Defaults tofalse.API name:
no_overlapping_matches -
serializeInternal
- Overrides:
serializeInternalin classCompoundWordTokenFilterBase
-
setupHyphenationDecompounderTokenFilterDeserializer
protected static void setupHyphenationDecompounderTokenFilterDeserializer(ObjectDeserializer<HyphenationDecompounderTokenFilter.Builder> op)
-