Uses of Class
com.azure.search.documents.models.VectorQuery
Packages that use VectorQuery
Package
Description
Package containing the data models for SearchIndexClient.
-
Uses of VectorQuery in com.azure.search.documents.models
Subclasses of VectorQuery in com.azure.search.documents.modelsModifier and TypeClassDescriptionfinal classThe query parameters to use for vector search when a text value that needs to be vectorized is provided.final classThe query parameters to use for vector search when a raw vector value is provided.Methods in com.azure.search.documents.models that return VectorQueryModifier and TypeMethodDescriptionstatic VectorQueryVectorQuery.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VectorQuery from the JsonReader.VectorQuery.setExhaustive(Boolean exhaustive) Set the exhaustive property: When true, triggers an exhaustive k-nearest neighbor search across all vectors within the vector index.Set the fields property: Vector Fields of type Collection(Edm.Single) to be included in the vector searched.VectorQuery.setKNearestNeighborsCount(Integer kNearestNeighborsCount) Set the kNearestNeighborsCount property: Number of nearest neighbors to return as top hits.VectorQuery.setOversampling(Double oversampling) Set the oversampling property: Oversampling factor.Set the weight property: Relative weight of the vector query when compared to other vector query and/or the text query within the same search request.Methods in com.azure.search.documents.models that return types with arguments of type VectorQueryModifier and TypeMethodDescriptionVectorSearchOptions.getQueries()Gets the list of vector queries to perform.Methods in com.azure.search.documents.models with parameters of type VectorQueryModifier and TypeMethodDescriptionVectorSearchOptions.setQueries(VectorQuery... queries) Sets the list of vector queries to perform.Method parameters in com.azure.search.documents.models with type arguments of type VectorQueryModifier and TypeMethodDescriptionVectorSearchOptions.setQueries(List<VectorQuery> queries) Sets the list of vector queries to perform.