-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Cognitive Search to Test Proxy (#33952)
Migrate Cognitive Search to Test Proxy
- Loading branch information
1 parent
54baab9
commit 6953909
Showing
547 changed files
with
332,141 additions
and
55,970 deletions.
There are no files selected for viewing
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
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
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
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
92 changes: 62 additions & 30 deletions
92
...esources/session-records/AutocompleteTests.canAutocompleteDefaultsToOneTermModeAsync.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 |
---|---|---|
@@ -1,31 +1,63 @@ | ||
{ | ||
"networkCallRecords" : [ { | ||
"Method" : "POST", | ||
"Uri" : "https://REDACTED.search.windows.net/indexes('azsearch-autocomplete-shared-instance')/docs/search.post.autocomplete?api-version=2021-04-30-Preview", | ||
"Headers" : { | ||
"User-Agent" : "azsdk-java-azure-search-documents/11.6.0-beta.4 (17.0.5; Windows 11; 10.0)", | ||
"x-ms-client-request-id" : "2f169b9c-1c57-4ea3-a542-67e9ac561a52", | ||
"Content-Type" : "application/json" | ||
}, | ||
"Response" : { | ||
"Pragma" : "no-cache", | ||
"retry-after" : "0", | ||
"request-id" : "2f169b9c-1c57-4ea3-a542-67e9ac561a52", | ||
"StatusCode" : "200", | ||
"Date" : "Tue, 17 Jan 2023 20:21:13 GMT", | ||
"Strict-Transport-Security" : "max-age=15724800; includeSubDomains", | ||
"Cache-Control" : "no-cache", | ||
"client-request-id" : "2f169b9c-1c57-4ea3-a542-67e9ac561a52", | ||
"elapsed-time" : "17", | ||
"OData-Version" : "4.0", | ||
"Expires" : "-1", | ||
"Content-Length" : "222", | ||
"Body" : "{\"value\":[{\"text\":\"point\",\"queryPlusText\":\"point\"},{\"text\":\"police\",\"queryPlusText\":\"police\"},{\"text\":\"polite\",\"queryPlusText\":\"polite\"},{\"text\":\"pool\",\"queryPlusText\":\"pool\"},{\"text\":\"popular\",\"queryPlusText\":\"popular\"}]}", | ||
"Preference-Applied" : "odata.include-annotations=\"*\"", | ||
"x-ms-client-request-id" : "2f169b9c-1c57-4ea3-a542-67e9ac561a52", | ||
"Content-Type" : "application/json; odata.metadata=none" | ||
}, | ||
"Exception" : null | ||
} ], | ||
"variables" : [ ] | ||
} | ||
"Entries": [ | ||
{ | ||
"RequestUri": "https://REDACTED/indexes(\u0027azsearch-autocomplete-shared-instance\u0027)/docs/search.post.autocomplete?api-version=2021-04-30-Preview", | ||
"RequestMethod": "POST", | ||
"RequestHeaders": { | ||
"Accept": "application/json; odata.metadata=none", | ||
"api-key": "REDACTED", | ||
"Content-Length": "36", | ||
"Content-Type": "application/json", | ||
"Date": "Thu, 09 Mar 2023 19:53:21 GMT", | ||
"return-client-request-id": "true", | ||
"User-Agent": "azsdk-java-azure-search-documents/11.6.0-beta.6 (17.0.5; Windows 11; 10.0)", | ||
"x-ms-client-request-id": "17e22cb0-757d-4529-978f-0ee16971851a" | ||
}, | ||
"RequestBody": { | ||
"search": "po", | ||
"suggesterName": "sg" | ||
}, | ||
"StatusCode": 200, | ||
"ResponseHeaders": { | ||
"Cache-Control": "no-cache", | ||
"client-request-id": "17e22cb0-757d-4529-978f-0ee16971851a", | ||
"Content-Length": "222", | ||
"Content-Type": "application/json; odata.metadata=none", | ||
"Date": "Thu, 09 Mar 2023 19:53:20 GMT", | ||
"elapsed-time": "16", | ||
"Expires": "-1", | ||
"OData-Version": "4.0", | ||
"Pragma": "no-cache", | ||
"Preference-Applied": "odata.include-annotations=\u0022*\u0022", | ||
"request-id": "17e22cb0-757d-4529-978f-0ee16971851a", | ||
"Strict-Transport-Security": "max-age=15724800; includeSubDomains", | ||
"x-ms-client-request-id": "17e22cb0-757d-4529-978f-0ee16971851a" | ||
}, | ||
"ResponseBody": { | ||
"value": [ | ||
{ | ||
"text": "point", | ||
"queryPlusText": "point" | ||
}, | ||
{ | ||
"text": "police", | ||
"queryPlusText": "police" | ||
}, | ||
{ | ||
"text": "polite", | ||
"queryPlusText": "polite" | ||
}, | ||
{ | ||
"text": "pool", | ||
"queryPlusText": "pool" | ||
}, | ||
{ | ||
"text": "popular", | ||
"queryPlusText": "popular" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"Variables": {} | ||
} |
92 changes: 62 additions & 30 deletions
92
...resources/session-records/AutocompleteTests.canAutocompleteDefaultsToOneTermModeSync.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 |
---|---|---|
@@ -1,31 +1,63 @@ | ||
{ | ||
"networkCallRecords" : [ { | ||
"Method" : "POST", | ||
"Uri" : "https://REDACTED.search.windows.net/indexes('azsearch-autocomplete-shared-instance')/docs/search.post.autocomplete?api-version=2021-04-30-Preview", | ||
"Headers" : { | ||
"User-Agent" : "azsdk-java-azure-search-documents/11.6.0-beta.4 (17.0.5; Windows 11; 10.0)", | ||
"x-ms-client-request-id" : "5fdcd761-e82a-44f9-a5df-083224b58f57", | ||
"Content-Type" : "application/json" | ||
}, | ||
"Response" : { | ||
"Pragma" : "no-cache", | ||
"retry-after" : "0", | ||
"request-id" : "5fdcd761-e82a-44f9-a5df-083224b58f57", | ||
"StatusCode" : "200", | ||
"Date" : "Tue, 17 Jan 2023 20:21:14 GMT", | ||
"Strict-Transport-Security" : "max-age=15724800; includeSubDomains", | ||
"Cache-Control" : "no-cache", | ||
"client-request-id" : "5fdcd761-e82a-44f9-a5df-083224b58f57", | ||
"elapsed-time" : "15", | ||
"OData-Version" : "4.0", | ||
"Expires" : "-1", | ||
"Content-Length" : "222", | ||
"Body" : "{\"value\":[{\"text\":\"point\",\"queryPlusText\":\"point\"},{\"text\":\"police\",\"queryPlusText\":\"police\"},{\"text\":\"polite\",\"queryPlusText\":\"polite\"},{\"text\":\"pool\",\"queryPlusText\":\"pool\"},{\"text\":\"popular\",\"queryPlusText\":\"popular\"}]}", | ||
"Preference-Applied" : "odata.include-annotations=\"*\"", | ||
"x-ms-client-request-id" : "5fdcd761-e82a-44f9-a5df-083224b58f57", | ||
"Content-Type" : "application/json; odata.metadata=none" | ||
}, | ||
"Exception" : null | ||
} ], | ||
"variables" : [ ] | ||
} | ||
"Entries": [ | ||
{ | ||
"RequestUri": "https://REDACTED/indexes(\u0027azsearch-autocomplete-shared-instance\u0027)/docs/search.post.autocomplete?api-version=2021-04-30-Preview", | ||
"RequestMethod": "POST", | ||
"RequestHeaders": { | ||
"Accept": "application/json; odata.metadata=none", | ||
"api-key": "REDACTED", | ||
"Content-Length": "36", | ||
"Content-Type": "application/json", | ||
"Date": "Thu, 09 Mar 2023 19:53:22 GMT", | ||
"return-client-request-id": "true", | ||
"User-Agent": "azsdk-java-azure-search-documents/11.6.0-beta.6 (17.0.5; Windows 11; 10.0)", | ||
"x-ms-client-request-id": "801398e5-eb80-4718-b0d2-d6917f46434c" | ||
}, | ||
"RequestBody": { | ||
"search": "po", | ||
"suggesterName": "sg" | ||
}, | ||
"StatusCode": 200, | ||
"ResponseHeaders": { | ||
"Cache-Control": "no-cache", | ||
"client-request-id": "801398e5-eb80-4718-b0d2-d6917f46434c", | ||
"Content-Length": "222", | ||
"Content-Type": "application/json; odata.metadata=none", | ||
"Date": "Thu, 09 Mar 2023 19:53:21 GMT", | ||
"elapsed-time": "17", | ||
"Expires": "-1", | ||
"OData-Version": "4.0", | ||
"Pragma": "no-cache", | ||
"Preference-Applied": "odata.include-annotations=\u0022*\u0022", | ||
"request-id": "801398e5-eb80-4718-b0d2-d6917f46434c", | ||
"Strict-Transport-Security": "max-age=15724800; includeSubDomains", | ||
"x-ms-client-request-id": "801398e5-eb80-4718-b0d2-d6917f46434c" | ||
}, | ||
"ResponseBody": { | ||
"value": [ | ||
{ | ||
"text": "point", | ||
"queryPlusText": "point" | ||
}, | ||
{ | ||
"text": "police", | ||
"queryPlusText": "police" | ||
}, | ||
{ | ||
"text": "polite", | ||
"queryPlusText": "polite" | ||
}, | ||
{ | ||
"text": "pool", | ||
"queryPlusText": "pool" | ||
}, | ||
{ | ||
"text": "popular", | ||
"queryPlusText": "popular" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"Variables": {} | ||
} |
73 changes: 43 additions & 30 deletions
73
...s/session-records/AutocompleteTests.canAutocompleteExcludesFieldsNotInSuggesterAsync.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 |
---|---|---|
@@ -1,31 +1,44 @@ | ||
{ | ||
"networkCallRecords" : [ { | ||
"Method" : "POST", | ||
"Uri" : "https://REDACTED.search.windows.net/indexes('azsearch-autocomplete-shared-instance')/docs/search.post.autocomplete?api-version=2021-04-30-Preview", | ||
"Headers" : { | ||
"User-Agent" : "azsdk-java-azure-search-documents/11.6.0-beta.4 (17.0.5; Windows 11; 10.0)", | ||
"x-ms-client-request-id" : "b395bf35-3765-49ad-bd85-3bed59ebde14", | ||
"Content-Type" : "application/json" | ||
}, | ||
"Response" : { | ||
"Pragma" : "no-cache", | ||
"retry-after" : "0", | ||
"request-id" : "b395bf35-3765-49ad-bd85-3bed59ebde14", | ||
"StatusCode" : "200", | ||
"Date" : "Tue, 17 Jan 2023 20:21:12 GMT", | ||
"Strict-Transport-Security" : "max-age=15724800; includeSubDomains", | ||
"Cache-Control" : "no-cache", | ||
"client-request-id" : "b395bf35-3765-49ad-bd85-3bed59ebde14", | ||
"elapsed-time" : "15", | ||
"OData-Version" : "4.0", | ||
"Expires" : "-1", | ||
"Content-Length" : "12", | ||
"Body" : "{\"value\":[]}", | ||
"Preference-Applied" : "odata.include-annotations=\"*\"", | ||
"x-ms-client-request-id" : "b395bf35-3765-49ad-bd85-3bed59ebde14", | ||
"Content-Type" : "application/json; odata.metadata=none" | ||
}, | ||
"Exception" : null | ||
} ], | ||
"variables" : [ ] | ||
} | ||
"Entries": [ | ||
{ | ||
"RequestUri": "https://REDACTED/indexes(\u0027azsearch-autocomplete-shared-instance\u0027)/docs/search.post.autocomplete?api-version=2021-04-30-Preview", | ||
"RequestMethod": "POST", | ||
"RequestHeaders": { | ||
"Accept": "application/json; odata.metadata=none", | ||
"api-key": "REDACTED", | ||
"Content-Length": "94", | ||
"Content-Type": "application/json", | ||
"Date": "Thu, 09 Mar 2023 19:53:20 GMT", | ||
"return-client-request-id": "true", | ||
"User-Agent": "azsdk-java-azure-search-documents/11.6.0-beta.6 (17.0.5; Windows 11; 10.0)", | ||
"x-ms-client-request-id": "54c34394-f175-4949-8cf1-a1a5876b298c" | ||
}, | ||
"RequestBody": { | ||
"search": "luxu", | ||
"suggesterName": "sg", | ||
"autocompleteMode": "oneTerm", | ||
"searchFields": "HotelName" | ||
}, | ||
"StatusCode": 200, | ||
"ResponseHeaders": { | ||
"Cache-Control": "no-cache", | ||
"client-request-id": "54c34394-f175-4949-8cf1-a1a5876b298c", | ||
"Content-Length": "12", | ||
"Content-Type": "application/json; odata.metadata=none", | ||
"Date": "Thu, 09 Mar 2023 19:53:19 GMT", | ||
"elapsed-time": "15", | ||
"Expires": "-1", | ||
"OData-Version": "4.0", | ||
"Pragma": "no-cache", | ||
"Preference-Applied": "odata.include-annotations=\u0022*\u0022", | ||
"request-id": "54c34394-f175-4949-8cf1-a1a5876b298c", | ||
"Strict-Transport-Security": "max-age=15724800; includeSubDomains", | ||
"x-ms-client-request-id": "54c34394-f175-4949-8cf1-a1a5876b298c" | ||
}, | ||
"ResponseBody": { | ||
"value": [] | ||
} | ||
} | ||
], | ||
"Variables": {} | ||
} |
Oops, something went wrong.