-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release search azure.search preview/2025 03 01 preview (#32251)
* Copy over 2024-11-01-preview spec * Update version to 2025-03-01-preview * Add missing Object Type lines * Remove default for rerankWithOriginalVectors * make keyvaultKeyVersion not a required param * Expose StatsSummary API * Mark identity as not required for AIServicesByIdentity * Exposing Sum Aggregation API * GenAISkill * Semantic Model Flighting * Updating Examples * SearchServiceIndexesStatsSummary nit fix * Sum Aggregation Nits * Updated Examples for Model Flighting * Index Stats Updates and Examples * Chat Completion Skill Updates and Examples * BQ Rescoring by Full Query Examples * Sum Aggregation Spec Update * Sum Aggregation + Examples * Model Flighting Spec fix * Revert "Chat Completion Skill Updates and Examples" This reverts commit 4c32a8b. * Fix examples with wrong api version * Autocomplete result fix * Fix indexer cache swagger issue * Run swagger prettier * Remove two examples that were unused * Revert "Remove two examples that were unused" This reverts commit 9cec269. --------- Co-authored-by: Jonathan Serbent <[email protected]>
- Loading branch information
1 parent
fd1a730
commit 8c53aa7
Showing
53 changed files
with
26,476 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
...Azure.Search/preview/2025-03-01-preview/examples/SearchIndexAutocompleteDocumentsGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "https://myservice.search.windows.net", | ||
"indexName": "myindex", | ||
"api-version": "2025-03-01-preview", | ||
"autocompleteMode": "oneTerm", | ||
"search": "washington medic", | ||
"suggesterName": "sg", | ||
"filter": "search.in(docId,'101,102,105')", | ||
"fuzzy": false, | ||
"highlightPostTag": "</em>", | ||
"highlightPreTag": "<em>", | ||
"minimumCoverage": 80, | ||
"searchFields": [ | ||
"title", | ||
"description" | ||
], | ||
"top": 10 | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": [ | ||
{ | ||
"text": "medicaid", | ||
"queryPlusText": "washington medicaid" | ||
}, | ||
{ | ||
"text": "medicare", | ||
"queryPlusText": "washington medicare" | ||
}, | ||
{ | ||
"text": "medicine", | ||
"queryPlusText": "washington medicine" | ||
} | ||
] | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...zure.Search/preview/2025-03-01-preview/examples/SearchIndexAutocompleteDocumentsPost.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"operationId": "Documents_AutocompletePost", | ||
"title": "SearchIndexAutocompleteDocumentsPost", | ||
"parameters": { | ||
"endpoint": "https://previewexampleservice.search.windows.net", | ||
"indexName": "preview-test", | ||
"api-version": "2025-03-01-preview", | ||
"x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", | ||
"autocompleteRequest": { | ||
"search": "p", | ||
"autocompleteMode": "oneTerm", | ||
"filter": "ownerId ne '1'", | ||
"fuzzy": true, | ||
"highlightPostTag": "</em>", | ||
"highlightPreTag": "<em>", | ||
"minimumCoverage": 80, | ||
"searchFields": "category, ownerId", | ||
"suggesterName": "sg", | ||
"top": 10 | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"@search.coverage": 100.0, | ||
"value": [ | ||
{ | ||
"text": "purple", | ||
"queryPlusText": "<em>purple</em>" | ||
}, | ||
{ | ||
"text": "pink", | ||
"queryPlusText": "<em>pink</em>" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...ata-plane/Azure.Search/preview/2025-03-01-preview/examples/SearchIndexCountDocuments.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"operationId": "Documents_Count", | ||
"title": "SearchIndexCountDocuments", | ||
"parameters": { | ||
"endpoint": "https://previewexampleservice.search.windows.net", | ||
"indexName": "preview-test", | ||
"api-version": "2025-03-01-preview", | ||
"x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": 50 | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...h/data-plane/Azure.Search/preview/2025-03-01-preview/examples/SearchIndexGetDocument.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"operationId": "Documents_Get", | ||
"title": "SearchIndexGetDocument", | ||
"parameters": { | ||
"endpoint": "https://previewexampleservice.search.windows.net", | ||
"indexName": "preview-test", | ||
"key": "1", | ||
"$select": [ | ||
"id", | ||
"description", | ||
"name", | ||
"category", | ||
"ownerId" | ||
], | ||
"api-version": "2025-03-01-preview", | ||
"x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "1", | ||
"name": "test", | ||
"description": "test1 hello", | ||
"category": "purple", | ||
"ownerId": "sam" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.