Class RRFRetriever
java.lang.Object
co.elastic.clients.elasticsearch._types.RetrieverBase
co.elastic.clients.elasticsearch._types.RRFRetriever
- All Implemented Interfaces:
RetrieverVariant,JsonpSerializable
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RetrieverBase
RetrieverBase.AbstractBuilder<BuilderT extends RetrieverBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RRFRetriever>Json deserializer forRRFRetriever -
Method Summary
Modifier and TypeMethodDescriptionRetriever variant kind.static RRFRetrieverfinal IntegerThis value determines how much influence documents in individual result sets per query have over the final ranked result set.Required - A list of child retrievers to specify which sets of returned top documents will have the RRF formula applied to them.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal IntegerThis value determines the size of the individual result sets per query.Methods inherited from class co.elastic.clients.elasticsearch._types.RetrieverBase
filter, serialize, setupRetrieverBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.RetrieverVariant
_toRetriever
-
Field Details
-
_DESERIALIZER
Json deserializer forRRFRetriever
-
-
Method Details
-
of
-
_retrieverKind
Retriever variant kind.- Specified by:
_retrieverKindin interfaceRetrieverVariant
-
retrievers
Required - A list of child retrievers to specify which sets of returned top documents will have the RRF formula applied to them.API name:
retrievers -
rankConstant
This value determines how much influence documents in individual result sets per query have over the final ranked result set.API name:
rank_constant -
windowSize
This value determines the size of the individual result sets per query.API name:
window_size -
serializeInternal
- Overrides:
serializeInternalin classRetrieverBase
-
setupRRFRetrieverDeserializer
-