@Stability.Uncommitted public class VectorQuery extends Object
Modifier and Type | Method and Description |
---|---|
VectorQuery |
boost(double boost)
Can be used to control how much weight to give the results of this query vs other queries.
|
static VectorQuery |
create(String vectorField,
float[] vectorQuery) |
VectorQuery |
numCandidates(int numCandidates)
This is the number of results that will be returned from this vector query.
|
com.couchbase.client.core.api.search.vector.CoreVectorQuery |
toCore() |
public static VectorQuery create(String vectorField, float[] vectorQuery)
vectorField
- the document field that contains the vector.vectorQuery
- the vector query to run.public VectorQuery numCandidates(int numCandidates)
public VectorQuery boost(double boost)
@Stability.Internal public com.couchbase.client.core.api.search.vector.CoreVectorQuery toCore()
Copyright © 2024 Couchbase, Inc.. All rights reserved.