Class PhraseSuggestCollate
java.lang.Object
co.elastic.clients.elasticsearch.core.search.PhraseSuggestCollate
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PhraseSuggestCollate>Json deserializer forPhraseSuggestCollate -
Method Summary
Modifier and TypeMethodDescriptionstatic PhraseSuggestCollateparams()Parameters to use if the query is templated.final Booleanprune()Returns all suggestions with an extracollate_matchoption indicating whether the generated phrase matched any document.query()Required - A collate query that is run once for every suggestion.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forPhraseSuggestCollate
-
-
Method Details
-
of
public static PhraseSuggestCollate of(Function<PhraseSuggestCollate.Builder, ObjectBuilder<PhraseSuggestCollate>> fn) -
params
Parameters to use if the query is templated.API name:
params -
prune
Returns all suggestions with an extracollate_matchoption indicating whether the generated phrase matched any document.API name:
prune -
query
Required - A collate query that is run once for every suggestion.API name:
query -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupPhraseSuggestCollateDeserializer
protected static void setupPhraseSuggestCollateDeserializer(ObjectDeserializer<PhraseSuggestCollate.Builder> op)
-