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 classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<AnalyzeRequest>
Json deserializer forAnalyzeRequest
static final Endpoint<AnalyzeRequest,
AnalyzeResponse, ErrorResponse> Endpoint "indices.analyze
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
analyzer()
API name:analyzer
API name:attributes
final List<CharFilter>
API name:char_filter
final Boolean
explain()
API name:explain
final String
field()
API name:field
final List<TokenFilter>
filter()
API name:filter
final String
index()
The name of the index to scope the operationfinal String
API name:normalizer
static AnalyzeRequest
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
text()
API name:text
final Tokenizer
API name:tokenizer
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupAnalyzeRequestDeserializer
protected static void setupAnalyzeRequestDeserializer(ObjectDeserializer<AnalyzeRequest.Builder> op)
-