Class CompletionSuggestOption<TDocument>
java.lang.Object
co.elastic.clients.elasticsearch.core.search.CompletionSuggestOption<TDocument>
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class CompletionSuggestOption<TDocument>
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CompletionSuggestOption<Object>>Json deserializer forCompletionSuggestOptionbased on named deserializers provided by the callingJsonMapper. -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanAPI name:collate_matchcontexts()API name:contextsstatic <TDocument>
JsonpDeserializer<CompletionSuggestOption<TDocument>>createCompletionSuggestOptionDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer) Create a JSON deserializer for CompletionSuggestOptionfields()API name:fieldsfinal Stringid()API name:_idfinal Stringindex()API name:_indexstatic <TDocument>
CompletionSuggestOption<TDocument>of(Function<CompletionSuggestOption.Builder<TDocument>, ObjectBuilder<CompletionSuggestOption<TDocument>>> fn) final Stringrouting()API name:_routingfinal Doublescore()API name:_scorevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <TDocument>
voidsetupCompletionSuggestOptionDeserializer(ObjectDeserializer<CompletionSuggestOption.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer) final TDocumentsource()API name:_sourcefinal Stringtext()Required - API name:texttoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forCompletionSuggestOptionbased on named deserializers provided by the callingJsonMapper.
-
-
Method Details
-
of
public static <TDocument> CompletionSuggestOption<TDocument> of(Function<CompletionSuggestOption.Builder<TDocument>, ObjectBuilder<CompletionSuggestOption<TDocument>>> fn) -
collateMatch
API name:collate_match -
contexts
API name:contexts -
fields
API name:fields -
id
API name:_id -
index
API name:_index -
routing
API name:_routing -
score
API name:_score -
source
API name:_source -
text
Required - API name:text -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
createCompletionSuggestOptionDeserializer
public static <TDocument> JsonpDeserializer<CompletionSuggestOption<TDocument>> createCompletionSuggestOptionDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer) Create a JSON deserializer for CompletionSuggestOption -
setupCompletionSuggestOptionDeserializer
protected static <TDocument> void setupCompletionSuggestOptionDeserializer(ObjectDeserializer<CompletionSuggestOption.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
-