Class Suggester
java.lang.Object
co.elastic.clients.elasticsearch.core.search.Suggester
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<Suggester>
Json deserializer forSuggester
-
Method Summary
Modifier and TypeMethodDescriptionstatic Suggester
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
final Map<String,
FieldSuggester> The named suggestersfinal String
text()
Global suggest text, to avoid repetition when the same text is used in several suggesterstoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forSuggester
-
-
Method Details
-
of
-
suggesters
The named suggesters -
text
Global suggest text, to avoid repetition when the same text is used in several suggestersAPI name:
text
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSuggesterDeserializer
-