VectorSearch Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. VectorSearch
- com.
Implements
public final class VectorSearch
implements JsonSerializable<VectorSearch>
Contains configuration options related to vector search.
Constructor Summary
Constructor | Description |
---|---|
VectorSearch() |
Creates an instance of Vector |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Vector |
fromJson(JsonReader jsonReader)
Reads an instance of Vector |
List<Vector |
getAlgorithms()
Get the algorithms property: Contains configuration options specific to the algorithm used during indexing or querying. |
List<Vector |
getProfiles()
Get the profiles property: Defines combinations of configurations to use with vector search. |
Vector |
setAlgorithms(VectorSearchAlgorithmConfiguration[] algorithms)
Set the algorithms property: Contains configuration options specific to the algorithm used during indexing or querying. |
Vector |
setAlgorithms(List<VectorSearchAlgorithmConfiguration> algorithms)
Set the algorithms property: Contains configuration options specific to the algorithm used during indexing or querying. |
Vector |
setProfiles(VectorSearchProfile[] profiles)
Set the profiles property: Defines combinations of configurations to use with vector search. |
Vector |
setProfiles(List<VectorSearchProfile> profiles)
Set the profiles property: Defines combinations of configurations to use with vector search. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
VectorSearch
public VectorSearch()
Creates an instance of VectorSearch class.
Method Details
fromJson
public static VectorSearch fromJson(JsonReader jsonReader)
Reads an instance of VectorSearch from the JsonReader.
Parameters:
Returns:
Throws:
getAlgorithms
public List
Get the algorithms property: Contains configuration options specific to the algorithm used during indexing or querying.
Returns:
getProfiles
public List
Get the profiles property: Defines combinations of configurations to use with vector search.
Returns:
setAlgorithms
public VectorSearch setAlgorithms(VectorSearchAlgorithmConfiguration[] algorithms)
Set the algorithms property: Contains configuration options specific to the algorithm used during indexing or querying.
Parameters:
Returns:
setAlgorithms
public VectorSearch setAlgorithms(List
Set the algorithms property: Contains configuration options specific to the algorithm used during indexing or querying.
Parameters:
Returns:
setProfiles
public VectorSearch setProfiles(VectorSearchProfile[] profiles)
Set the profiles property: Defines combinations of configurations to use with vector search.
Parameters:
Returns:
setProfiles
public VectorSearch setProfiles(List
Set the profiles property: Defines combinations of configurations to use with vector search.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по