VectorSearchOptions Class
- java.
lang. Object - com.
azure. search. documents. models. VectorSearchOptions
- com.
public final class VectorSearchOptions
Parameters for performing vector searches.
Constructor Summary
Constructor | Description |
---|---|
VectorSearchOptions() |
Creates a new instance of VectorSearchOptions. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Vector |
getFilterMode()
Gets the filter mode to apply to vector queries. |
List<Vector |
getQueries()
Gets the list of vector queries to perform. |
Vector |
setFilterMode(VectorFilterMode filterMode)
Sets the filter mode to apply to vector queries. |
Vector |
setQueries(VectorQuery[] queries)
Sets the list of vector queries to perform. |
Vector |
setQueries(List<VectorQuery> queries)
Sets the list of vector queries to perform. |
Methods inherited from java.lang.Object
Constructor Details
VectorSearchOptions
public VectorSearchOptions()
Creates a new instance of VectorSearchOptions.
Method Details
getFilterMode
public VectorFilterMode getFilterMode()
Gets the filter mode to apply to vector queries.
Returns:
getQueries
public List
Gets the list of vector queries to perform.
Returns:
setFilterMode
public VectorSearchOptions setFilterMode(VectorFilterMode filterMode)
Sets the filter mode to apply to vector queries.
Parameters:
Returns:
setQueries
public VectorSearchOptions setQueries(VectorQuery[] queries)
Sets the list of vector queries to perform.
Parameters:
Returns:
setQueries
public VectorSearchOptions setQueries(List
Sets the list of vector queries to perform.
Parameters:
Returns:
Applies to
Azure SDK for Java