Skip to content

Commit e652ec9

Browse files
Merge pull request #7333 from HeidiSteen/heidist-0901
Bulk API version update
2 parents 0a8ec94 + 9c4d4c6 commit e652ec9

10 files changed

+23
-23
lines changed

articles/search/query-simple-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Although the simple parser is based on the [Apache Lucene Simple Query Parser](h
2828
This example shows a simple query, distinguished by `"queryType": "simple"` and valid syntax. Although query type is set below, it's the default and can be omitted unless you're reverting from an alternative type. The following example is a search over independent terms, with a requirement that all matching documents include "pool".
2929

3030
```http
31-
POST https://{{service-name}}.search.windows.net/indexes/hotel-rooms-sample/docs/search?api-version=2024-07-01
31+
POST https://{{service-name}}.search.windows.net/indexes/hotel-rooms-sample/docs/search?api-version=@search.rerankerBoostedScore
3232
{
3333
"queryType": "simple",
3434
"search": "budget hotel +pool",

articles/search/search-add-autocomplete-suggestions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The remainder of this article is focused on queries and client code. It uses Jav
3232
Elements of a request include one of the search-as-you-type APIs, a partial query, and a suggester. The following script illustrates components of a request, using the Autocomplete REST API as an example.
3333

3434
```http
35-
POST /indexes/myxboxgames/docs/autocomplete?search&api-version=2024-07-01
35+
POST /indexes/myxboxgames/docs/autocomplete?search&api-version=@search.rerankerBoostedScore
3636
{
3737
"search": "minecraf",
3838
"suggesterName": "sg"

articles/search/search-blob-storage-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ You can control which blobs are indexed, and which are skipped, by the blob's fi
9898
Include specific file extensions by setting `"indexedFileNameExtensions"` to a comma-separated list of file extensions (with a leading dot). Exclude specific file extensions by setting `"excludedFileNameExtensions"` to the extensions that should be skipped. If the same extension is in both lists, it's excluded from indexing.
9999

100100
```http
101-
PUT /indexers/[indexer name]?api-version=2024-07-01
101+
PUT /indexers/[indexer name]?api-version=@search.rerankerBoostedScore
102102
{
103103
"parameters" : {
104104
"configuration" : {

articles/search/search-faq-frequently-asked-questions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ sections:
158158
159159
* Add a "vectorSearch" section to the index schema specifying the configuration used by vector search fields, including the parameters of the Approximate Nearest Neighbor algorithm used, like HNSW.
160160
161-
* Use the latest stable version, [**2024-07-01**](/rest/api/searchservice), or an Azure SDK to create or update the index, load documents, and issue queries. For more information, see [Create a vector index](vector-search-how-to-create-index.md).
161+
* Use the latest stable version, [**@search.rerankerBoostedScore**](/rest/api/searchservice), or an Azure SDK to create or update the index, load documents, and issue queries. For more information, see [Create a vector index](vector-search-how-to-create-index.md).
162162
163163
- name: Queries
164164
questions:

articles/search/search-file-storage-integration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ In the [search index](search-what-is-an-index.md), add fields to accept the cont
109109
1. [Create or update an index](/rest/api/searchservice/indexes/create-or-update) to define search fields that will store file content and metadata.
110110
111111
```http
112-
POST /indexes?api-version=2024-07-01
112+
POST /indexes?api-version=@search.rerankerBoostedScore
113113
{
114114
"name" : "my-search-index",
115115
"fields": [
@@ -150,7 +150,7 @@ Once the index and data source have been created, you're ready to create the ind
150150
1. [Create or update an indexer](/rest/api/searchservice/indexers/create-or-update) by giving it a name and referencing the data source and target index:
151151
152152
```http
153-
POST /indexers?api-version=2024-07-01
153+
POST /indexers?api-version=@search.rerankerBoostedScore
154154
{
155155
"name" : "my-file-indexer",
156156
"dataSourceName" : "my-file-datasource",
@@ -186,7 +186,7 @@ An indexer runs automatically when it's created. You can prevent this by setting
186186
To monitor the indexer status and execution history, send a [Get Indexer Status](/rest/api/searchservice/indexers/get-status) request:
187187
188188
```http
189-
GET https://myservice.search.windows.net/indexers/myindexer/status?api-version=2024-07-01
189+
GET https://myservice.search.windows.net/indexers/myindexer/status?api-version=@search.rerankerBoostedScore
190190
Content-Type: application/json
191191
api-key: [admin key]
192192
```

articles/search/search-filters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ One of the limits on a filter expression is the maximum size limit of the reques
5757
The following examples represent prototypical filter definitions in several APIs.
5858

5959
```http
60-
POST https://[service name].search.windows.net/indexes/hotels/docs/search?api-version=2024-07-01
60+
POST https://[service name].search.windows.net/indexes/hotels/docs/search?api-version=@search.rerankerBoostedScore
6161
{
6262
"search": "*",
6363
"filter": "Rooms/any(room: room/BaseRate lt 150.0)",

articles/search/search-how-to-define-index-projections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Choose a tab for the various API syntax. There's currently no portal support for
149149

150150
Index projections are generally available. We recommend the most recent stable API:
151151

152-
- [Create Skillset (api-version=2024-07-01)](/rest/api/searchservice/skillsets/create)
152+
- [Create Skillset (api-version=@search.rerankerBoostedScore)](/rest/api/searchservice/skillsets/create)
153153

154154
Here's an example payload for an index projections definition that you might use to project individual pages output by the [Text Split skill](cognitive-search-skill-textsplit.md) as their own documents in the search index.
155155

articles/search/search-how-to-index-csv-blobs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Putting it all together, here are the complete payload examples.
7373
Datasource:
7474

7575
```http
76-
POST https://[service name].search.windows.net/datasources?api-version=2024-07-01
76+
POST https://[service name].search.windows.net/datasources?api-version=@search.rerankerBoostedScore
7777
Content-Type: application/json
7878
api-key: [admin key]
7979
{
@@ -87,7 +87,7 @@ api-key: [admin key]
8787
Indexer:
8888

8989
```http
90-
POST https://[service name].search.windows.net/indexers?api-version=2024-07-01
90+
POST https://[service name].search.windows.net/indexers?api-version=@search.rerankerBoostedScore
9191
Content-Type: application/json
9292
api-key: [admin key]
9393
{

articles/search/search-how-to-index-sql-database.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ The data source definition specifies the data to index, credentials, and policie
159159
1. [Create Data Source](/rest/api/searchservice/data-sources/create) or [Create or Update Data Source](/rest/api/searchservice/data-sources/create-or-update) to set its definition:
160160
161161
```http
162-
POST https://myservice.search.windows.net/datasources?api-version=2024-07-01
162+
POST https://myservice.search.windows.net/datasources?api-version=@search.rerankerBoostedScore
163163
Content-Type: application/json
164164
api-key: admin-key
165165
@@ -201,7 +201,7 @@ In a [search index](search-what-is-an-index.md), add fields that correspond to t
201201
1. [Create or update an index](/rest/api/searchservice/indexes/create) to define search fields that store data:
202202

203203
```http
204-
POST https://[service name].search.windows.net/indexes?api-version=2024-07-01
204+
POST https://[service name].search.windows.net/indexes?api-version=@search.rerankerBoostedScore
205205
Content-Type: application/json
206206
api-key: [Search service admin key]
207207
{
@@ -254,7 +254,7 @@ Once the index and data source have been created, you're ready to create the ind
254254
1. [Create or update an indexer](/rest/api/searchservice/indexers/create) by giving it a name and referencing the data source and target index:
255255
256256
```http
257-
POST https://[service name].search.windows.net/indexers?api-version=2024-07-01
257+
POST https://[service name].search.windows.net/indexers?api-version=@search.rerankerBoostedScore
258258
Content-Type: application/json
259259
api-key: [search service admin key]
260260
{
@@ -310,7 +310,7 @@ To monitor the indexer status and execution history, check the indexer execution
310310
### [**REST**](#tab/rest-check-indexer)
311311
312312
```http
313-
GET https://myservice.search.windows.net/indexers/myindexer/status?api-version=2024-07-01
313+
GET https://myservice.search.windows.net/indexers/myindexer/status?api-version=@search.rerankerBoostedScore
314314
Content-Type: application/json
315315
api-key: [admin key]
316316
```
@@ -384,7 +384,7 @@ Database requirements:
384384
Change detection policies are added to data source definitions. To use this policy, edit the data source definition in the Azure portal, or use REST to update your data source like this:
385385

386386
```http
387-
POST https://myservice.search.windows.net/datasources?api-version=2024-07-01
387+
POST https://myservice.search.windows.net/datasources?api-version=@search.rerankerBoostedScore
388388
Content-Type: application/json
389389
api-key: admin-key
390390
{
@@ -422,7 +422,7 @@ The high water mark column must meet the following requirements:
422422
Change detection policies are added to data source definitions. To use this policy, create or update your data source like this:
423423

424424
```http
425-
POST https://myservice.search.windows.net/datasources?api-version=2024-07-01
425+
POST https://myservice.search.windows.net/datasources?api-version=@search.rerankerBoostedScore
426426
Content-Type: application/json
427427
api-key: admin-key
428428
{

articles/search/search-how-to-integrated-vectorization.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ In this section, you specify the connection information for your Azure AI Search
332332

333333
```HTTP
334334
### List existing indexes by name
335-
GET {{baseUrl}}/indexes?api-version=2024-07-01 HTTP/1.1
335+
GET {{baseUrl}}/indexes?api-version=@search.rerankerBoostedScore HTTP/1.1
336336
Content-Type: application/json
337337
Authorization: Bearer {{token}}
338338
```
@@ -379,7 +379,7 @@ In this section, you connect to a [supported data source](#supported-data-source
379379

380380
```HTTP
381381
### Create a data source
382-
POST {{baseUrl}}/datasources?api-version=2024-07-01 HTTP/1.1
382+
POST {{baseUrl}}/datasources?api-version=@search.rerankerBoostedScore HTTP/1.1
383383
Content-Type: application/json
384384
Authorization: Bearer {{token}}
385385
@@ -454,7 +454,7 @@ For built-in data chunking, Azure AI Search offers the [Text Split skill](cognit
454454

455455
```HTTP
456456
### Create a skillset
457-
POST {{baseUrl}}/skillsets?api-version=2024-07-01 HTTP/1.1
457+
POST {{baseUrl}}/skillsets?api-version=@search.rerankerBoostedScore HTTP/1.1
458458
Content-Type: application/json
459459
Authorization: Bearer {{token}}
460460
@@ -632,7 +632,7 @@ In addition to vector fields, the sample index in the following steps contains n
632632

633633
```HTTP
634634
### Create a vector index
635-
POST {{baseUrl}}/indexes?api-version=2024-07-01 HTTP/1.1
635+
POST {{baseUrl}}/indexes?api-version=@search.rerankerBoostedScore HTTP/1.1
636636
Content-Type: application/json
637637
Authorization: Bearer {{token}}
638638
@@ -810,7 +810,7 @@ In this section, you create an [indexer](search-indexer-overview.md) to drive th
810810

811811
```HTTP
812812
### Create an indexer
813-
POST {{baseUrl}}/indexers?api-version=2024-07-01 HTTP/1.1
813+
POST {{baseUrl}}/indexers?api-version=@search.rerankerBoostedScore HTTP/1.1
814814
Content-Type: application/json
815815
Authorization: Bearer {{token}}
816816
@@ -847,7 +847,7 @@ In this section, you verify that your content was successfully indexed by [creat
847847

848848
```HTTP
849849
### Run a vector query
850-
POST {{baseUrl}}/indexes('my-vector-index')/docs/search.post.search?api-version=2024-07-01 HTTP/1.1
850+
POST {{baseUrl}}/indexes('my-vector-index')/docs/search.post.search?api-version=@search.rerankerBoostedScore HTTP/1.1
851851
Content-Type: application/json
852852
Authorization: Bearer {{token}}
853853

0 commit comments

Comments
 (0)