Class PhraseSuggestOption
java.lang.Object
co.elastic.clients.elasticsearch.core.search.PhraseSuggestOption
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<PhraseSuggestOption>
Json deserializer forPhraseSuggestOption
-
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
API name:collate_match
final String
API name:highlighted
static PhraseSuggestOption
final double
score()
Required - API name:score
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 String
text()
Required - API name:text
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forPhraseSuggestOption
-
-
Method Details
-
of
public static PhraseSuggestOption of(Function<PhraseSuggestOption.Builder, ObjectBuilder<PhraseSuggestOption>> fn) -
text
Required - API name:text
-
score
public final double score()Required - API name:score
-
highlighted
API name:highlighted
-
collateMatch
API name:collate_match
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupPhraseSuggestOptionDeserializer
protected static void setupPhraseSuggestOptionDeserializer(ObjectDeserializer<PhraseSuggestOption.Builder> op)
-