Class AnalyzeRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.AnalyzeRequest
- All Implemented Interfaces:
JsonpSerializable
Performs the analysis process on a text and return the tokens breakdown of
the text.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AnalyzeRequest>Json deserializer forAnalyzeRequeststatic final Endpoint<AnalyzeRequest,AnalyzeResponse, ErrorResponse> Endpoint "indices.analyze". -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringanalyzer()API name:analyzerAPI name:attributesfinal List<CharFilter>API name:char_filterfinal Booleanexplain()API name:explainfinal Stringfield()API name:fieldfinal List<TokenFilter>filter()API name:filterfinal Stringindex()The name of the index to scope the operationfinal StringAPI name:normalizerstatic AnalyzeRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtext()API name:textfinal TokenizerAPI name:tokenizerMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forAnalyzeRequest -
_ENDPOINT
Endpoint "indices.analyze".
-
-
Method Details
-
of
-
analyzer
API name:analyzer -
attributes
API name:attributes -
charFilter
API name:char_filter -
explain
API name:explain -
field
API name:field -
filter
API name:filter -
index
The name of the index to scope the operationAPI name:
index -
normalizer
API name:normalizer -
text
API name:text -
tokenizer
API name:tokenizer -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupAnalyzeRequestDeserializer
protected static void setupAnalyzeRequestDeserializer(ObjectDeserializer<AnalyzeRequest.Builder> op)
-