Skip to content

Commit

Permalink
Release search azure.search preview/2025 03 01 preview (#32251)
Browse files Browse the repository at this point in the history
* 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
jonathanserbent and Jonathan Serbent authored Feb 21, 2025
1 parent fd1a730 commit 8c53aa7
Show file tree
Hide file tree
Showing 53 changed files with 26,476 additions and 0 deletions.
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"
}
]
}
}
}
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>"
}
]
}
}
}
}
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
}
}
}
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"
}
}
}
}
Loading

0 comments on commit 8c53aa7

Please sign in to comment.