Uses of Class
com.azure.search.documents.indexes.models.HnswParameters
Packages that use HnswParameters
Package
Description
Package containing the data models for SearchServiceClient.
-
Uses of HnswParameters in com.azure.search.documents.indexes.models
Methods in com.azure.search.documents.indexes.models that return HnswParametersModifier and TypeMethodDescriptionstatic HnswParametersHnswParameters.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of HnswParameters from the JsonReader.HnswAlgorithmConfiguration.getParameters()Get the parameters property: Contains the parameters specific to HNSW algorithm.HnswParameters.setEfConstruction(Integer efConstruction) Set the efConstruction property: The size of the dynamic list containing the nearest neighbors, which is used during index time.HnswParameters.setEfSearch(Integer efSearch) Set the efSearch property: The size of the dynamic list containing the nearest neighbors, which is used during search time.Set the m property: The number of bi-directional links created for every new element during construction.HnswParameters.setMetric(VectorSearchAlgorithmMetric metric) Set the metric property: The similarity metric to use for vector comparisons.Methods in com.azure.search.documents.indexes.models with parameters of type HnswParametersModifier and TypeMethodDescriptionHnswAlgorithmConfiguration.setParameters(HnswParameters parameters) Set the parameters property: Contains the parameters specific to HNSW algorithm.