VectorSearchAlgorithmConfiguration Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. VectorSearchAlgorithmConfiguration
- com.
Implements
public class VectorSearchAlgorithmConfiguration
implements JsonSerializable<VectorSearchAlgorithmConfiguration>
Contains configuration options specific to the algorithm used during indexing or querying.
Constructor Summary
Constructor | Description |
---|---|
VectorSearchAlgorithmConfiguration(String name) |
Creates an instance of Vector |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Vector |
fromJson(JsonReader jsonReader)
Reads an instance of Vector |
Vector |
getKind()
Get the kind property: The name of the kind of algorithm being configured for use with vector search. |
String |
getName()
Get the name property: The name to associate with this particular configuration. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
VectorSearchAlgorithmConfiguration
public VectorSearchAlgorithmConfiguration(String name)
Creates an instance of VectorSearchAlgorithmConfiguration class.
Parameters:
Method Details
fromJson
public static VectorSearchAlgorithmConfiguration fromJson(JsonReader jsonReader)
Reads an instance of VectorSearchAlgorithmConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
getKind
public VectorSearchAlgorithmKind getKind()
Get the kind property: The name of the kind of algorithm being configured for use with vector search.
Returns:
getName
public String getName()
Get the name property: The name to associate with this particular configuration.
Returns:
toJson
Applies to
Azure SDK for Java