Class VectorQuery
java.lang.Object
com.couchbase.client.java.search.vector.VectorQuery
-
Method Summary
Modifier and TypeMethodDescriptionboost
(double boost) Can be used to control how much weight to give the results of this query vs other queries.static 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()
-
Method Details
-
create
- Parameters:
vectorField
- the document field that contains the vector.vectorQuery
- the vector query to run.- Returns:
-
numCandidates
This is the number of results that will be returned from this vector query.- Returns:
- this, for chaining.
-
boost
Can be used to control how much weight to give the results of this query vs other queries. See the FTS documentation for details.- Returns:
- this, for chaining.
-
toCore
-