Class Rescore
java.lang.Object
co.elastic.clients.elasticsearch._core.search.Rescore
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Rescore extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Rescore.Builder
Builder forRescore
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Rescore>
_DESERIALIZER
Json deserializer forRescore
-
Constructor Summary
Constructors Constructor Description Rescore(Rescore.Builder builder)
Rescore(java.util.function.Function<Rescore.Builder,Rescore.Builder> fn)
-
Method Summary
Modifier and Type Method Description RescoreQuery
query()
Required - API name:query
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
setupRescoreDeserializer(DelegatingDeserializer<Rescore.Builder> op)
java.lang.Integer
windowSize()
API name:window_size
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forRescore
-
-
Constructor Details
-
Rescore
-
Rescore
-
-
Method Details
-
query
Required - API name:query
-
windowSize
@Nullable public java.lang.Integer windowSize()API name:window_size
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupRescoreDeserializer
-