Class KnnQueryRescore.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.query_dsl.KnnQueryRescore.Builder
-
- All Implemented Interfaces:
ObjectBuilder<KnnQueryRescore>
- Enclosing class:
- KnnQueryRescore
public static class KnnQueryRescore.Builder extends ObjectBuilderBase implements ObjectBuilder<KnnQueryRescore>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KnnQueryRescorebuild()ObjectBuilder<KnnQueryRescore>context(RescoreContext v)ObjectBuilder<KnnQueryRescore>enable(java.lang.Boolean v)-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
enable
public ObjectBuilder<KnnQueryRescore> enable(java.lang.Boolean v)
-
context
public ObjectBuilder<KnnQueryRescore> context(RescoreContext v)
-
build
public KnnQueryRescore build()
- Specified by:
buildin interfaceObjectBuilder<KnnQueryRescore>
-
-