Package | Description |
---|---|
com.couchbase.client.java.search.vector |
Modifier and Type | Method and Description |
---|---|
VectorQuery |
VectorQuery.boost(double boost)
Can be used to control how much weight to give the results of this query vs other queries.
|
static VectorQuery |
VectorQuery.create(String vectorField,
float[] vector) |
static VectorQuery |
VectorQuery.create(String vectorField,
String base64EncodedVector) |
VectorQuery |
VectorQuery.numCandidates(int numCandidates)
This is the number of results that will be returned from this vector query.
|
Modifier and Type | Method and Description |
---|---|
static VectorSearch |
VectorSearch.create(VectorQuery vectorQuery)
Will execute a single `vectorQuery`, using default options.
|
Modifier and Type | Method and Description |
---|---|
static VectorSearch |
VectorSearch.create(List<VectorQuery> vectorQueries)
Will execute all of the provided `vectorQueries`, using default options.
|
static VectorSearch |
VectorSearch.create(List<VectorQuery> vectorQueries,
VectorSearchOptions vectorSearchOptions)
Will execute all of the provided `vectorQueries`, using the specified options.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.