Class ShingleTokenFilter
- java.lang.Object
-
- org.opensearch.client.opensearch._types.analysis.TokenFilterBase
-
- org.opensearch.client.opensearch._types.analysis.ShingleTokenFilter
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
,TokenFilterDefinitionVariant
@JsonpDeserializable public class ShingleTokenFilter extends TokenFilterBase implements TokenFilterDefinitionVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShingleTokenFilter.Builder
Builder forShingleTokenFilter
.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.analysis.TokenFilterBase
TokenFilterBase.AbstractBuilder<BuilderT extends TokenFilterBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShingleTokenFilter>
_DESERIALIZER
Json deserializer forShingleTokenFilter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenFilterDefinition.Kind
_tokenFilterDefinitionKind()
TokenFilterDefinition variant kind.java.lang.String
fillerToken()
API name:filler_token
java.lang.String
maxShingleSize()
API name:max_shingle_size
java.lang.String
minShingleSize()
API name:min_shingle_size
static ShingleTokenFilter
of(java.util.function.Function<ShingleTokenFilter.Builder,ObjectBuilder<ShingleTokenFilter>> fn)
java.lang.Boolean
outputUnigrams()
API name:output_unigrams
java.lang.Boolean
outputUnigramsIfNoShingles()
API name:output_unigrams_if_no_shingles
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupShingleTokenFilterDeserializer(ObjectDeserializer<ShingleTokenFilter.Builder> op)
java.lang.String
tokenSeparator()
API name:token_separator
-
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.JsonpSerializable
serialize
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Methods inherited from interface org.opensearch.client.opensearch._types.analysis.TokenFilterDefinitionVariant
_toTokenFilterDefinition
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ShingleTokenFilter> _DESERIALIZER
Json deserializer forShingleTokenFilter
-
-
Method Detail
-
of
public static ShingleTokenFilter of(java.util.function.Function<ShingleTokenFilter.Builder,ObjectBuilder<ShingleTokenFilter>> fn)
-
_tokenFilterDefinitionKind
public TokenFilterDefinition.Kind _tokenFilterDefinitionKind()
TokenFilterDefinition variant kind.- Specified by:
_tokenFilterDefinitionKind
in interfaceTokenFilterDefinitionVariant
-
fillerToken
@Nullable public final java.lang.String fillerToken()
API name:filler_token
-
maxShingleSize
@Nullable public final java.lang.String maxShingleSize()
API name:max_shingle_size
-
minShingleSize
@Nullable public final java.lang.String minShingleSize()
API name:min_shingle_size
-
outputUnigrams
@Nullable public final java.lang.Boolean outputUnigrams()
API name:output_unigrams
-
outputUnigramsIfNoShingles
@Nullable public final java.lang.Boolean outputUnigramsIfNoShingles()
API name:output_unigrams_if_no_shingles
-
tokenSeparator
@Nullable public final java.lang.String tokenSeparator()
API name:token_separator
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
- Overrides:
serializeInternal
in classTokenFilterBase
-
setupShingleTokenFilterDeserializer
protected static void setupShingleTokenFilterDeserializer(ObjectDeserializer<ShingleTokenFilter.Builder> op)
-
-