File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed
sdk/search/azure-search-documents
azure/search/documents/indexes/models Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 11# Release History
22
3- ## 11.4.0b8 (Unreleased )
3+ ## 11.4.0b8 (2023-08-08 )
44
55### Features Added
66
7- ### Breaking Changes
7+ - Exposed ` HnswVectorSearchAlgorithmConfiguration `
88
9- ### Bugs Fixed
9+ ### Breaking Changes
1010
11- ### Other Changes
11+ > These changes do not impact the API of stable versions such as 11.3.0.
12+ > Only code written against a beta version such as 11.4.0b6 may be affected.
13+ - Instead of using ` VectorSearchAlgorithmConfiguration ` , now you need to use concrete types like ` HnswVectorSearchAlgorithmConfiguration ` .
1214
1315## 11.4.0b7 (2023-08-08)
1416
Original file line number Diff line number Diff line change 171171 WebApiSkill ,
172172 VisualFeature ,
173173 VectorSearch ,
174- VectorSearchAlgorithmConfiguration ,
174+ HnswVectorSearchAlgorithmConfiguration ,
175175 WordDelimiterTokenFilter ,
176176)
177177from ._models import (
@@ -363,7 +363,7 @@ class SearchSuggester(Suggester):
363363 "UniqueTokenFilter" ,
364364 "VisualFeature" ,
365365 "VectorSearch" ,
366- "VectorSearchAlgorithmConfiguration " ,
366+ "HnswVectorSearchAlgorithmConfiguration " ,
367367 "WebApiSkill" ,
368368 "WordDelimiterTokenFilter" ,
369369 "SearchFieldDataType" ,
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def get_hotel_index(name: str):
5757 SimpleField ,
5858 SearchableField ,
5959 VectorSearch ,
60- VectorSearchAlgorithmConfiguration ,
60+ HnswVectorSearchAlgorithmConfiguration ,
6161 )
6262
6363 fields = [
@@ -76,7 +76,7 @@ def get_hotel_index(name: str):
7676 ),
7777 ]
7878 vector_search = VectorSearch (
79- algorithm_configurations = [VectorSearchAlgorithmConfiguration (name = "my-vector-config" , kind = "hnsw" )]
79+ algorithm_configurations = [HnswVectorSearchAlgorithmConfiguration (name = "my-vector-config" , kind = "hnsw" )]
8080 )
8181 return SearchIndex (name = name , fields = fields , vector_search = vector_search )
8282
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def get_hotel_index(name: str):
5656 SimpleField ,
5757 SearchableField ,
5858 VectorSearch ,
59- VectorSearchAlgorithmConfiguration ,
59+ HnswVectorSearchAlgorithmConfiguration ,
6060 )
6161
6262 fields = [
@@ -75,7 +75,7 @@ def get_hotel_index(name: str):
7575 ),
7676 ]
7777 vector_search = VectorSearch (
78- algorithm_configurations = [VectorSearchAlgorithmConfiguration (name = "my-vector-config" , kind = "hnsw" )]
78+ algorithm_configurations = [HnswVectorSearchAlgorithmConfiguration (name = "my-vector-config" , kind = "hnsw" )]
7979 )
8080 return SearchIndex (name = name , fields = fields , vector_search = vector_search )
8181
You can’t perform that action at this time.
0 commit comments