Class LengthTokenFilter
java.lang.Object
co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase
co.elastic.clients.elasticsearch._types.analysis.LengthTokenFilter
- All Implemented Interfaces:
TokenFilterDefinitionVariant,JsonpSerializable
@JsonpDeserializable
public class LengthTokenFilter
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<LengthTokenFilter>Json deserializer forLengthTokenFilter -
Method Summary
Modifier and TypeMethodDescriptionTokenFilterDefinition variant kind.final Integermax()Maximum character length of a token.final Integermin()Minimum character length of a token.static LengthTokenFilterprotected 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 forLengthTokenFilter
-
-
Method Details
-
of
public static LengthTokenFilter of(Function<LengthTokenFilter.Builder, ObjectBuilder<LengthTokenFilter>> fn) -
_tokenFilterDefinitionKind
TokenFilterDefinition variant kind.- Specified by:
_tokenFilterDefinitionKindin interfaceTokenFilterDefinitionVariant
-
max
Maximum character length of a token. Longer tokens are excluded from the output. Defaults toInteger.MAX_VALUE, which is2^31-1or2147483647.API name:
max -
min
Minimum character length of a token. Shorter tokens are excluded from the output. Defaults to0.API name:
min -
serializeInternal
- Overrides:
serializeInternalin classTokenFilterBase
-
setupLengthTokenFilterDeserializer
protected static void setupLengthTokenFilterDeserializer(ObjectDeserializer<LengthTokenFilter.Builder> op)
-