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