Skip to content

Commit bf5a542

Browse files
committed
Addressed Robert's comments
1 parent f02e3a6 commit bf5a542

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/search/search-api-migration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,14 @@ Here are the steps for migrating from 2023-07-01-preview:
149149
}
150150
```
151151
152-
1. Call [Create or Update Index](/rest/api/searchservice/indexes/create-or-update?view=rest-searchservice-2023-11-01&tabs=HTTP&preserve-view=true) to post the changes. This api change will allow support of polymorphic vector query types.
152+
1. Call [Create or Update Index](/rest/api/searchservice/indexes/create-or-update?view=rest-searchservice-2023-11-01&tabs=HTTP&preserve-view=true) to post the changes.
153153
154-
1. Modify [Search POST](/rest/api/searchservice/documents/search-post?view=rest-searchservice-2023-11-01&tabs=HTTP&preserve-view=true) to change the query syntax.
154+
1. Modify [Search POST](/rest/api/searchservice/documents/search-post?view=rest-searchservice-2023-11-01&tabs=HTTP&preserve-view=true) to change the query syntax. This API change enables support for polymorphic vector query types.
155155
156156
+ Rename `vectors` to `vectorQueries`.
157157
+ For each vector query, add `kind`, setting it to "vector".
158158
+ For each vector query, rename `value` to `vector`.
159-
+ Optionally, add `vectorFilterMode` if you're using [filter expressions](vector-search-filters.md) (default is now prefilter, you can change it to postfilter).
159+
+ Optionally, add `vectorFilterMode` if you're using [filter expressions](vector-search-filters.md). The default is prefilter for indexes created after 2023-10-01. Indexes created before that date only support postfilter, regardless of how you set the filter mode.
160160
161161
**Before (2023-07-01-preview)**:
162162

0 commit comments

Comments
 (0)