VectorSearchProfile Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. VectorSearchProfile
- com.
Implements
public final class VectorSearchProfile
implements JsonSerializable<VectorSearchProfile>
Defines a combination of configurations to use with vector search.
Constructor Summary
Constructor | Description |
---|---|
VectorSearchProfile(String name, String algorithmConfigurationName) |
Creates an instance of Vector |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Vector |
fromJson(JsonReader jsonReader)
Reads an instance of Vector |
String |
getAlgorithmConfigurationName()
Get the algorithm |
String |
getCompressionName()
Get the compression |
String |
getName()
Get the name property: The name to associate with this particular vector search profile. |
String |
getVectorizerName()
Get the vectorizer |
Vector |
setCompressionName(String compressionName)
Set the compression |
Vector |
setVectorizerName(String vectorizerName)
Set the vectorizer |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
VectorSearchProfile
public VectorSearchProfile(String name, String algorithmConfigurationName)
Creates an instance of VectorSearchProfile class.
Parameters:
Method Details
fromJson
public static VectorSearchProfile fromJson(JsonReader jsonReader)
Reads an instance of VectorSearchProfile from the JsonReader.
Parameters:
Returns:
Throws:
getAlgorithmConfigurationName
public String getAlgorithmConfigurationName()
Get the algorithmConfigurationName property: The name of the vector search algorithm configuration that specifies the algorithm and optional parameters.
Returns:
getCompressionName
public String getCompressionName()
Get the compressionName property: The name of the compression method configuration that specifies the compression method and optional parameters.
Returns:
getName
public String getName()
Get the name property: The name to associate with this particular vector search profile.
Returns:
getVectorizerName
public String getVectorizerName()
Get the vectorizerName property: The name of the vectorization being configured for use with vector search.
Returns:
setCompressionName
public VectorSearchProfile setCompressionName(String compressionName)
Set the compressionName property: The name of the compression method configuration that specifies the compression method and optional parameters.
Parameters:
Returns:
setVectorizerName
public VectorSearchProfile setVectorizerName(String vectorizerName)
Set the vectorizerName property: The name of the vectorization being configured for use with vector search.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java