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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應