Class KeywordMarkerTokenFilter
java.lang.Object
co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase
co.elastic.clients.elasticsearch._types.analysis.KeywordMarkerTokenFilter
- All Implemented Interfaces:
TokenFilterDefinitionVariant,JsonpSerializable
@JsonpDeserializable
public class KeywordMarkerTokenFilter
extends TokenFilterBase
implements TokenFilterDefinitionVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase
TokenFilterBase.AbstractBuilder<BuilderT extends TokenFilterBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<KeywordMarkerTokenFilter>Json deserializer forKeywordMarkerTokenFilter -
Method Summary
Modifier and TypeMethodDescriptionTokenFilterDefinition variant kind.final BooleanIftrue, matching for thekeywordsandkeywords_pathparameters ignores letter case.keywords()Array of keywords.final StringPath to a file that contains a list of keywords.final StringJava regular expression used to match tokens.static KeywordMarkerTokenFilterprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods 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 forKeywordMarkerTokenFilter
-
-
Method Details
-
of
public static KeywordMarkerTokenFilter of(Function<KeywordMarkerTokenFilter.Builder, ObjectBuilder<KeywordMarkerTokenFilter>> fn) -
_tokenFilterDefinitionKind
TokenFilterDefinition variant kind.- Specified by:
_tokenFilterDefinitionKindin interfaceTokenFilterDefinitionVariant
-
ignoreCase
Iftrue, matching for thekeywordsandkeywords_pathparameters ignores letter case. Defaults tofalse.API name:
ignore_case -
keywords
Array of keywords. Tokens that match these keywords are not stemmed. This parameter,keywords_path, orkeywords_patternmust be specified. You cannot specify this parameter andkeywords_pattern.API name:
keywords -
keywordsPath
Path to a file that contains a list of keywords. Tokens that match these keywords are not stemmed. This path must be absolute or relative to theconfiglocation, and the file must be UTF-8 encoded. Each word in the file must be separated by a line break. This parameter,keywords, orkeywords_patternmust be specified. You cannot specify this parameter andkeywords_pattern.API name:
keywords_path -
keywordsPattern
Java regular expression used to match tokens. Tokens that match this expression are marked as keywords and not stemmed. This parameter,keywords, orkeywords_pathmust be specified. You cannot specify this parameter andkeywordsorkeywords_pattern.API name:
keywords_pattern -
serializeInternal
- Overrides:
serializeInternalin classTokenFilterBase
-
setupKeywordMarkerTokenFilterDeserializer
protected static void setupKeywordMarkerTokenFilterDeserializer(ObjectDeserializer<KeywordMarkerTokenFilter.Builder> op)
-