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 classRescore.BuilderBuilder forRescore. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Rescore>_DESERIALIZERJson deserializer forRescore -
Method Summary
Modifier and Type Method Description static Rescoreof(java.util.function.Function<Rescore.Builder,ObjectBuilder<Rescore>> fn)RescoreQueryquery()Required - API name:queryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupRescoreDeserializer(ObjectDeserializer<Rescore.Builder> op)java.lang.StringtoString()java.lang.IntegerwindowSize()API name:window_sizeMethods 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupRescoreDeserializer
-