diff --git a/sdk/search/perf-tests/search-documents/package.json b/sdk/search/perf-tests/search-documents/package.json index f1748e105d88..2e2c8a914343 100644 --- a/sdk/search/perf-tests/search-documents/package.json +++ b/sdk/search/perf-tests/search-documents/package.json @@ -7,7 +7,7 @@ "author": "", "license": "ISC", "dependencies": { - "@azure/search-documents": "11.2.0-beta.3", + "@azure/search-documents": "11.2.0", "@azure/identity": "^1.1.0", "@azure/test-utils-perfstress": "^1.0.0", "dotenv": "^8.2.0" diff --git a/sdk/search/search-documents/CHANGELOG.md b/sdk/search/search-documents/CHANGELOG.md index 3e133df9c58f..6ff0154ed072 100644 --- a/sdk/search/search-documents/CHANGELOG.md +++ b/sdk/search/search-documents/CHANGELOG.md @@ -1,7 +1,20 @@ # Release History -## 11.2.0-beta.3 (Unreleased) +## 11.2.0 (2021-06-08) +The list of changes in 11.2.0 since 11.1.0 & 11.2.0-beta.2 are provided below: + +**Changes since 11.1.0** + +- Added support for Knowledge Store feature through the new `SearchIndexerKnowledgeStore` in the `SearchIndexerSkillset` object. +- The `skillsetCounter` property in `ServiceCounters` object has been made optional. +- Added Support for new datasource `adlsgen2`. Please refer [#14620](https://github.com/Azure/azure-sdk-for-js/pull/14620) for further details. +- Added Support for new skills such as `CustomEntityLookupSkill`, `DocumentExtractionSkill`, etc. Please refer [#14620](https://github.com/Azure/azure-sdk-for-js/pull/14620) for further details. + +**Changes since 11.2.0-beta.2** + +- Removed Support for Semantic Search and introduced new properties in `SearchOptions`, `SearchRequest`, `SearchResult` and `SearchDocumentsResult` objects. +- Removed Support for normalizers `LexicalNormalizer` & `CustomNormalizer`. Please refer [#14620](https://github.com/Azure/azure-sdk-for-js/pull/14620) for further details. ## 11.2.0-beta.2 (2021-05-11) diff --git a/sdk/search/search-documents/package.json b/sdk/search/search-documents/package.json index 778059c530fc..13f842c79921 100644 --- a/sdk/search/search-documents/package.json +++ b/sdk/search/search-documents/package.json @@ -1,6 +1,6 @@ { "name": "@azure/search-documents", - "version": "11.2.0-beta.3", + "version": "11.2.0", "description": "Azure client library to use Cognitive Search for node.js and browser.", "sdk-type": "client", "main": "dist/index.js", diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_autocomplete_returns_the_correct_autocomplete_result.js b/sdk/search/search-documents/recordings/node/searchclient/recording_autocomplete_returns_the_correct_autocomplete_result.js index db154068ba56..bd315dcbada1 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_autocomplete_returns_the_correct_autocomplete_result.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_autocomplete_returns_the_correct_autocomplete_result.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'd86ab2ac-f3db-47d5-a6f9-0bb3814654b9', + '7fd5ed0b-95e7-49ba-b5f8-c82533c7e845', 'elapsed-time', - '110', + '15', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:05:45 GMT', + 'Tue, 01 Jun 2021 18:31:49 GMT', 'Content-Length', '164' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_autocomplete_returns_zero_results_for_invalid_query.js b/sdk/search/search-documents/recordings/node/searchclient/recording_autocomplete_returns_zero_results_for_invalid_query.js index 7edb73ad0868..acf2f84c2cee 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_autocomplete_returns_zero_results_for_invalid_query.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_autocomplete_returns_zero_results_for_invalid_query.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '2b52bd90-b5f9-466b-af71-aa633e893085', + '97f83e97-f190-4699-b0e3-1489335a623d', 'elapsed-time', - '23', + '9', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:06:03 GMT', + 'Tue, 01 Jun 2021 18:32:06 GMT', 'Content-Length', '133' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_count_returns_the_correct_document_count.js b/sdk/search/search-documents/recordings/node/searchclient/recording_count_returns_the_correct_document_count.js index 04e423a2d941..efb4b90591a7 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_count_returns_the_correct_document_count.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_count_returns_the_correct_document_count.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'c31d26d0-e728-4a87-9227-ddd7247804bc', + 'a8c05f93-f1f0-4869-a4cd-fa8a3426d4f2', 'elapsed-time', - '12', + '3', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:05:28 GMT', + 'Tue, 01 Jun 2021 18:31:32 GMT', 'Content-Length', '127' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_deletedocuments_delete_a_document_by_documents.js b/sdk/search/search-documents/recordings/node/searchclient/recording_deletedocuments_delete_a_document_by_documents.js index 98ff112b0b03..b5d8bbe25a63 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_deletedocuments_delete_a_document_by_documents.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_deletedocuments_delete_a_document_by_documents.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '0d658f12-993a-4a1c-9e4c-56fb168c1987', + 'ca508721-44b8-4ab0-8647-f1583d379af3', 'elapsed-time', - '13', + '16', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:08:03 GMT', + 'Tue, 01 Jun 2021 18:34:07 GMT', 'Content-Length', '411' ]); @@ -53,7 +53,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'd82da534-4506-4df7-bd7a-d548d05e3f31', + 'e94c7d32-a6e1-453b-92ed-05d7ed4d6738', 'elapsed-time', '27', 'OData-Version', @@ -63,7 +63,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:08:03 GMT', + 'Tue, 01 Jun 2021 18:34:07 GMT', 'Content-Length', '184' ]); @@ -85,9 +85,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'e5c9c220-83e6-4dc8-94c6-99e0fec82b68', + '2168e31e-2364-49db-b9b2-dbe70ab4884b', 'elapsed-time', - '4', + '3', 'OData-Version', '4.0', 'Preference-Applied', @@ -95,7 +95,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:08:07 GMT', + 'Tue, 01 Jun 2021 18:34:11 GMT', 'Content-Length', '126' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_deletedocuments_delete_a_document_by_keykeynames.js b/sdk/search/search-documents/recordings/node/searchclient/recording_deletedocuments_delete_a_document_by_keykeynames.js index e166f6fcae39..3e44249194c3 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_deletedocuments_delete_a_document_by_keykeynames.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_deletedocuments_delete_a_document_by_keykeynames.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'f40e90d1-430b-4d64-817b-04fca4b5e3df', + '0d845343-5ff8-4995-b326-bb4de7305281', 'elapsed-time', - '36', + '32', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:08:23 GMT', + 'Tue, 01 Jun 2021 18:34:29 GMT', 'Content-Length', '191' ]); @@ -53,9 +53,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '63de6f03-c589-46c6-b7be-24ba9ff7688e', + '53ecb700-6fd7-43f1-b7e1-923f3ed5e41a', 'elapsed-time', - '5', + '6', 'OData-Version', '4.0', 'Preference-Applied', @@ -63,7 +63,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:08:28 GMT', + 'Tue, 01 Jun 2021 18:34:33 GMT', 'Content-Length', '126' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_getdocument_returns_the_correct_document_result.js b/sdk/search/search-documents/recordings/node/searchclient/recording_getdocument_returns_the_correct_document_result.js index 04d044bc8529..86e97e983d2d 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_getdocument_returns_the_correct_document_result.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_getdocument_returns_the_correct_document_result.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '6a038d16-aaff-4506-b9ee-ecbd497183e0', + 'aa775fec-7183-4c26-a83f-59ee5658be50', 'elapsed-time', - '36', + '16', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:07:28 GMT', + 'Tue, 01 Jun 2021 18:33:33 GMT', 'Content-Length', '411' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_getdocument_throws_error_for_invalid_getdocument_value.js b/sdk/search/search-documents/recordings/node/searchclient/recording_getdocument_throws_error_for_invalid_getdocument_value.js index b4c05b99dbc4..d6c5f558f728 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_getdocument_throws_error_for_invalid_getdocument_value.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_getdocument_throws_error_for_invalid_getdocument_value.js @@ -15,13 +15,13 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'request-id', - 'afe19624-6fce-49f3-a38a-0415696deeee', + 'd7386df4-ddc3-45b2-882b-1b8615ee5d39', 'elapsed-time', - '12', + '6', 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:07:45 GMT', + 'Tue, 01 Jun 2021 18:33:50 GMT', 'Content-Length', '0' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_deletes_existing_documents.js b/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_deletes_existing_documents.js index ae343791bdbf..d2e44fdd2ab4 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_deletes_existing_documents.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_deletes_existing_documents.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '7dae618c-ba38-4a13-a8d5-817ac127aeb4', + '872c1152-a070-42ee-b1fe-3ed023e777ef', 'elapsed-time', - '32', + '34', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:10:32 GMT', + 'Tue, 01 Jun 2021 18:36:36 GMT', 'Content-Length', '191' ]); @@ -53,9 +53,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'b7d42c80-cad8-486f-916a-85f5c7dc4b28', + '47cf5678-9438-44a4-b0ea-f59fd480735e', 'elapsed-time', - '8', + '5', 'OData-Version', '4.0', 'Preference-Applied', @@ -63,7 +63,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:10:36 GMT', + 'Tue, 01 Jun 2021 18:36:40 GMT', 'Content-Length', '126' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_merges_an_existing_document.js b/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_merges_an_existing_document.js index 9e52074c98ff..35e0fe179bdd 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_merges_an_existing_document.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_merges_an_existing_document.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '7d6f4e9d-537a-4f43-b771-89c68746ef00', + '20279cfd-6e4f-4f29-86db-c43b7cf5283c', 'elapsed-time', - '31', + '38', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:10:53 GMT', + 'Tue, 01 Jun 2021 18:36:57 GMT', 'Content-Length', '184' ]); @@ -53,9 +53,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '24b60a4a-1a9a-48d6-bdc0-c6bf17180e7f', + 'f18c26d8-4b32-439c-a245-ba3f65539686', 'elapsed-time', - '11', + '15', 'OData-Version', '4.0', 'Preference-Applied', @@ -63,7 +63,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:10:56 GMT', + 'Tue, 01 Jun 2021 18:37:01 GMT', 'Content-Length', '364' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_mergeupload_documents.js b/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_mergeupload_documents.js index be2fc48768e1..9e4d5845f763 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_mergeupload_documents.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_mergeupload_documents.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '7321f046-fc52-42c4-b09b-3f7e4b27d997', + '292afbe5-14f9-4afd-aa36-cf854afcf9fe', 'elapsed-time', - '43', + '36', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:11:13 GMT', + 'Tue, 01 Jun 2021 18:37:19 GMT', 'Content-Length', '194' ]); @@ -53,9 +53,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '83f3d63e-f7ee-479e-9595-6d2fb90014b9', + 'f279c302-3b2e-4904-9a78-87adf796d7bb', 'elapsed-time', - '9', + '10', 'OData-Version', '4.0', 'Preference-Applied', @@ -63,7 +63,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:11:18 GMT', + 'Tue, 01 Jun 2021 18:37:22 GMT', 'Content-Length', '364' ]); @@ -85,9 +85,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'b3262c73-5c8a-464b-83cd-0f2b03ffcc38', + '6a1290e8-ffa6-4733-be9c-736002cc626d', 'elapsed-time', - '5', + '3', 'OData-Version', '4.0', 'Preference-Applied', @@ -95,7 +95,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:11:18 GMT', + 'Tue, 01 Jun 2021 18:37:22 GMT', 'Content-Length', '127' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_upload_a_new_document.js b/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_upload_a_new_document.js index 2bbfbcfd24d7..618202bb1509 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_upload_a_new_document.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_indexdocuments_upload_a_new_document.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '83d7134c-7634-44b1-8e47-13cff8f2b8e7', + '7e90118a-9be0-4477-af93-4bfd8f71998e', 'elapsed-time', - '32', + '24', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:10:10 GMT', + 'Tue, 01 Jun 2021 18:36:15 GMT', 'Content-Length', '185' ]); @@ -53,7 +53,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'ca2d3515-72cd-45be-a3a5-3451beebf225', + '9a7f02fd-6e9e-49b2-9137-eae2f446dcc1', 'elapsed-time', '4', 'OData-Version', @@ -63,7 +63,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:10:15 GMT', + 'Tue, 01 Jun 2021 18:36:19 GMT', 'Content-Length', '127' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_mergedocuments_modify__merge_an_existing_document.js b/sdk/search/search-documents/recordings/node/searchclient/recording_mergedocuments_modify__merge_an_existing_document.js index 96d8014f123f..7ecc1ad7ea53 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_mergedocuments_modify__merge_an_existing_document.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_mergedocuments_modify__merge_an_existing_document.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '38bdee25-9c71-4808-8994-dba17e279909', + '817e284b-052c-49c2-8fea-51fbb3371384', 'elapsed-time', - '19', + '12', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:09:28 GMT', + 'Tue, 01 Jun 2021 18:35:33 GMT', 'Content-Length', '301' ]); @@ -53,9 +53,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'e2fa228d-adc0-4fa2-a3a3-112eb2623fe6', + 'e38c0716-fc02-4a47-9850-15f2b8aba939', 'elapsed-time', - '27', + '28', 'OData-Version', '4.0', 'Preference-Applied', @@ -63,7 +63,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:09:28 GMT', + 'Tue, 01 Jun 2021 18:35:33 GMT', 'Content-Length', '184' ]); @@ -85,7 +85,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '5cd33b5b-e229-4930-8b11-7a609f44a0ac', + '02ab714e-3826-4612-b357-ce32ca254730', 'elapsed-time', '8', 'OData-Version', @@ -95,7 +95,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:09:32 GMT', + 'Tue, 01 Jun 2021 18:35:37 GMT', 'Content-Length', '264' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_mergeoruploaddocuments_merge_a_new_document.js b/sdk/search/search-documents/recordings/node/searchclient/recording_mergeoruploaddocuments_merge_a_new_document.js index 26aa61aa4a94..20b7c924d31e 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_mergeoruploaddocuments_merge_a_new_document.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_mergeoruploaddocuments_merge_a_new_document.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'bbae313e-3069-43a2-884e-23c089d177b4', + 'a34e873b-f98a-41d1-bc21-c54cc898689d', 'elapsed-time', - '31', + '24', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:09:07 GMT', + 'Tue, 01 Jun 2021 18:35:11 GMT', 'Content-Length', '185' ]); @@ -53,7 +53,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '127256d0-6cd5-4889-9344-bd9eb27e8379', + '39ebb988-32ba-4b4f-a7d9-177d579ed844', 'elapsed-time', '4', 'OData-Version', @@ -63,7 +63,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:09:11 GMT', + 'Tue, 01 Jun 2021 18:35:15 GMT', 'Content-Length', '127' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_mergeoruploaddocuments_modify__merge_an_existing_document.js b/sdk/search/search-documents/recordings/node/searchclient/recording_mergeoruploaddocuments_modify__merge_an_existing_document.js index 8f14fcf92976..34f0f3d24690 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_mergeoruploaddocuments_modify__merge_an_existing_document.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_mergeoruploaddocuments_modify__merge_an_existing_document.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '400bd9fd-3d50-4104-8d8d-e9ae908628a2', + 'a4b1e368-db95-48a3-8138-7fd390f17f08', 'elapsed-time', - '11', + '23', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:08:45 GMT', + 'Tue, 01 Jun 2021 18:34:50 GMT', 'Content-Length', '301' ]); @@ -53,9 +53,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '926c8083-94cd-464b-bd55-4da9d6b656bd', + '25724de5-a8db-4fb7-a257-2e38fe33ddd0', 'elapsed-time', - '30', + '28', 'OData-Version', '4.0', 'Preference-Applied', @@ -63,7 +63,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:08:45 GMT', + 'Tue, 01 Jun 2021 18:34:50 GMT', 'Content-Length', '184' ]); @@ -85,9 +85,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '7f561a83-75ca-4f5f-873b-e980afd9d656', + 'cb04375f-41ec-45c1-9cc9-a87e0be08edc', 'elapsed-time', - '10', + '6', 'OData-Version', '4.0', 'Preference-Applied', @@ -95,7 +95,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:08:50 GMT', + 'Tue, 01 Jun 2021 18:34:54 GMT', 'Content-Length', '264' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_search_returns_the_correct_search_result.js b/sdk/search/search-documents/recordings/node/searchclient/recording_search_returns_the_correct_search_result.js index 1c4d45b166bf..cf276410f905 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_search_returns_the_correct_search_result.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_search_returns_the_correct_search_result.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '7c6f248d-955e-4bbf-9436-64ec72b0a113', + '419c7038-726c-421c-930d-acdb992ffd5b', 'elapsed-time', - '129', + '42', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:06:20 GMT', + 'Tue, 01 Jun 2021 18:32:24 GMT', 'Content-Length', '1958' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_search_returns_zero_results_for_invalid_query.js b/sdk/search/search-documents/recordings/node/searchclient/recording_search_returns_zero_results_for_invalid_query.js index 99cc1a346295..a0e0fe5f8629 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_search_returns_zero_results_for_invalid_query.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_search_returns_zero_results_for_invalid_query.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '6175427f-80b7-4eed-ac66-656264f9eac4', + '66305e22-b5a0-437f-b89e-969fc7dde6a1', 'elapsed-time', - '34', + '20', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:06:37 GMT', + 'Tue, 01 Jun 2021 18:32:41 GMT', 'Content-Length', '149' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_search_with_speller.js b/sdk/search/search-documents/recordings/node/searchclient/recording_search_with_speller.js index f68aa298eec3..da157ef56b21 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_search_with_speller.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_search_with_speller.js @@ -1,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "91ff5c8ed06e5fd96db3abf11fe0b8d0"; +module.exports.hash = "8a47d95bfb92cebc341f624b7a9463d3"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) - .post('/indexes(%27hotel-live-test1%27)/docs/search.post.search', {"count":true,"search":"budjet","queryLanguage":"en-us","speller":"lexicon","skip":0,"top":5}) + .post('/indexes(%27hotel-live-test1%27)/docs/search.post.search', {"count":true,"search":"budjet","skip":0,"top":5}) .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cadd6cbf6a3479f8e3ebaccca75fed1a3efd1574d9ed5d3f9b89956357db23bdebfb773ffde8307a38fe6559b9767b38f1e7d74ef23fdeb45b6a0361f9d4eab65f5bacdaee9f359de4ceb62d516d592bef9c9bcbe4e57d56a5d6675caafa4c5326dabab65d8f4594d8dbffdfbae7776cef7d1a8ccd355b96ef4d5a2ced37c995e166599d37bd3accd2faafa9a5e79b29e5de42d7dd666170de1ffd155715ed09f13f9fcfba38f5659fdb6585e9c2da7e57a9613f66dbdce471f358b0a1f1f976575854fcfb3b2a18fcbac695fe5cbea3203564fa923ea64f7e1c3fbdb3b0fb67776dfec3c78b4b343fffb29eaa3a636cb8b8f1eed8f77e8c58ab0a2573e7af48b3f6aaf5778ed6555107509ddaaaa67c5926001c3edddbdbdf1eebdddfb44d2fd4fc79f3e38b87fb04b784e6bfad6bebb046109f9ba5ae5755be0cd5f2c1f12b55fbefefcd1febdbd4f3ffa25bfe4978c3eca66b33a6fa8c1725d968455552de88fef7dff978c2293b97b40cf1e4d38cf054fe6ee0e75c47fea6c9e802beaeba698e5e9b7f1397def4d15b5789d5de6e97a45f398dedff9ddd3eafc3c6deb6c56e0ebac94796ec669faaccef3f4bbc5b362945ed479d6a6864ae992f04a67c4066085517a4ea8a76f8b763acfe9afabac99e775fa0bd3597d9dd7a3746fffee83b459af5655dd8ed249755512ddd38c98e19a5e2dda250d3f9de6cb965eca96b37441831d8748337f81bda60fc1ab8ba2c97f90fef4baf945eb8ff169bec30369d635715e93cef1193362e306b6a4bf684c180e8d266bd70521d3d6689a1f34e9a4200e6d8a76cd1f3c4c57f69bd99a91abf36d66e0513a5d174db1ccd369b55895d2aaa58f4ba2eabac969dc0d7ff890a8417f8f082d1e3ad3c18e9fc030d09466c9d0206f53969a7c89f9060988dc83a2b2b7bf3daf68c4e775b56c094cf3366df2fab29882f3a634a9347924ac65359940b089c9da6c5d67c4d3c4ae3db15201eaca9548db90583ddcdea1ff7d1a15ab7bef27560f0ec60ff777f60fee8deedd1f3fdcd9dffd94b0fc70a1fac51f3544e4bc3d361f7cf4e9c3dd9df459769db76dce139abe9a11d469d182ca4fd7f53c5bd0df44ac367f595797c59208fae8a31727f4212b5c9e8daf5e1fd3dfab8a9a9527d50c2df61e3cd8bdf711756e44f817fb1c4c0d5e13cb113beca6bf1711287d92cfd2ade345be24eecc9b3b04cd6bcdfc6edb3b2e25c62501298b36dd7a2d73cd6f2a81f805fa739235f92b42ffa3477be3fd7dfa3b9f7dc96009ab8f5cf7d4b229f37cd5b0c6a0c6f47774fa0dc729532db2b779fd112b280f65022d2c9abea2f103ed9f58e72453d4d10de33c218a4f4812304823dfbf88fa25109bc7ebf5471fba513f187ffa90fe0e476db1a1a6370d5b856160dc3cf28e6ade193ff8f4c1ce2efa65f5c9aaf92175c57fa9667e9d4f6bc2972520fd025f50038f1ad4e4cd3c17fd9b164d4a1a9cb4e435893049119191146f4bdf2f32126b523e8bbc9e16a4afb39a34e735a971fe168c0cb9c7ef73c2b1c5172ff2abf4f7a9eab7e3f4383da7df17c5724d8297665719356ed237c522ffb8495fffa2754613019af3eb45d356753135aa8a00e163f4304ab326bdca49edd3cf8a3ead497565343d6844c3cb49da5a6a4d460364b308d018180e310401cea8cf05c9509ab5a4a7a76d4176099d4f2b9a915545f39ed1489971a00d3d5231e33cffd869fa14fd1533fc9d3fccca9c18aef5f539db868cd43ac973b1a206201b7f77402373d464854c0d453510c7acca9ca839a5a6bbf7ef1110fada0c06d424462de9ff340e25295980b6aed6341282c234810569f3c58a143b9950ea8c50a33e95baf432605263ee92085b2c9b0270d3d9c7d99a5a362400f9fa1dfd4984253c6838a21088b8bf685da4e7a2ff2d5a69f9f19aa84cd41290f43efd9f2d8ba33323e3e84c7f1384f2e3e305437ec87881e6e03c6381aa758b8fe9532319abaa020f938747b09662684990e823fa735ae4f545fe8d599b073be4c16def1ebcd939205343fff3adcd7b3a710fee8d1f3eb8bfbf736fb40fc9ddb97ff0b3666e1e3c48efb7f3f4f812c0889741493353f4091990d0cefc3ef4e1463bb3bbb3b3b7b7c9ce786a113ad42abe74eb84ba875f081deabdc3c2743b2d0c3980c0e1074915f317a029cdbcaee943a7911f7ea84616ce306c7739adefce2e67a48b49137b0321b01e0640ddd8ba74eb0bc026d94a7fb2c8af80b2f7de4d04881ae01ec01b687030dee9d3c0e0472dbf1e09461ffd74365dffe00745daae2744102649cf38edddbf77efdec37b04958d0b5ba73d7a97ff52ebf4aacaa6f301b374429664050dcb2f9082a7d8e16a394ecf96e7a44e4867911aa72fa030bc1799ac6154b8207924671ff682e69ed9c741592fe97b6a083024c956ef3041e93333766e447fbf7794289f0ee89783bded9dfded3dd22f116f76f7fdf4cbae172412efff3083c4f864ef5347fc974ef6e9bb1500329736f49d376bf4ed4b7253c88bb8a8aa99cc78d882e7f5b8410c36219fc419616a46141a9cb71f05f74c6dccdbf77fc9ff03a337a51ac6110000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cadd6cbf6a3473ba38f2eb3729d7ff4e87bdfff25ff0f36f0f25c1d000000"], [ 'Cache-Control', 'no-cache', 'Pragma', @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '1b710d77-f468-4c94-b0aa-7c3fc914515f', + '062de04d-5347-4b3d-93a8-2e7d6c9d789a', 'elapsed-time', - '55', + '36', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Tue, 13 Apr 2021 06:14:46 GMT', + 'Tue, 01 Jun 2021 18:20:40 GMT', 'Content-Length', - '1958' + '149' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_suggest_returns_the_correct_suggestions.js b/sdk/search/search-documents/recordings/node/searchclient/recording_suggest_returns_the_correct_suggestions.js index 5a57db2581f7..06b46b57ee64 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_suggest_returns_the_correct_suggestions.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_suggest_returns_the_correct_suggestions.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '1fdac2f5-997b-4f02-8b76-71119e59d4b9', + 'f16d7a6f-3cef-47c4-8bb5-2c282bb4b025', 'elapsed-time', - '104', + '38', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:06:53 GMT', + 'Tue, 01 Jun 2021 18:32:58 GMT', 'Content-Length', '295' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_suggest_returns_zero_suggestions_for_invalid_input.js b/sdk/search/search-documents/recordings/node/searchclient/recording_suggest_returns_zero_suggestions_for_invalid_input.js index 13e25720995f..0a10a4b52dc0 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_suggest_returns_zero_suggestions_for_invalid_input.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_suggest_returns_zero_suggestions_for_invalid_input.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'fc8de0d5-9d32-4342-8c87-d85158f86a42', + '4736f3e7-ba02-4d2a-82f3-bf5bbe28e841', 'elapsed-time', - '63', + '21', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:07:11 GMT', + 'Tue, 01 Jun 2021 18:33:15 GMT', 'Content-Length', '133' ]); diff --git a/sdk/search/search-documents/recordings/node/searchclient/recording_uploaddocuments_upload_a_set_of_documents.js b/sdk/search/search-documents/recordings/node/searchclient/recording_uploaddocuments_upload_a_set_of_documents.js index b35c3491e78a..d5379a87f1b3 100644 --- a/sdk/search/search-documents/recordings/node/searchclient/recording_uploaddocuments_upload_a_set_of_documents.js +++ b/sdk/search/search-documents/recordings/node/searchclient/recording_uploaddocuments_upload_a_set_of_documents.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '24002421-abe3-45ed-93f9-9e23f0b49b30', + '1a6f7bbf-9b71-46b2-9520-853f596a8035', 'elapsed-time', - '33', + '41', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:09:49 GMT', + 'Tue, 01 Jun 2021 18:35:54 GMT', 'Content-Length', '191' ]); @@ -53,9 +53,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'd426ef37-13d2-4cb0-8f31-fde7117dd132', + 'ae053ac0-0aa9-4f83-a51b-1b840821f77e', 'elapsed-time', - '8', + '5', 'OData-Version', '4.0', 'Preference-Applied', @@ -63,7 +63,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:09:53 GMT', + 'Tue, 01 Jun 2021 18:35:58 GMT', 'Content-Length', '127' ]); diff --git a/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_creates_the_index_object_using_createorupdateindex.js b/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_creates_the_index_object_using_createorupdateindex.js index ff2dde169bca..9c59eb5803c2 100644 --- a/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_creates_the_index_object_using_createorupdateindex.js +++ b/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_creates_the_index_object_using_createorupdateindex.js @@ -7,7 +7,7 @@ module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) .put('/indexes(%27hotel-live-test4%27)', {"name":"hotel-live-test4","fields":[{"name":"id","type":"Edm.String","key":true,"searchable":false,"filterable":false,"sortable":false,"facetable":false},{"name":"awesomenessLevel","type":"Edm.Double","searchable":false,"filterable":true,"sortable":true,"facetable":true},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"sortable":false,"facetable":false},{"name":"details","type":"Edm.ComplexType","fields":[{"name":"tags","type":"Collection(Edm.String)","searchable":true}]},{"name":"hiddenWeight","type":"Edm.Int32","retrievable":false,"searchable":false,"filterable":false,"sortable":false,"facetable":false}]}) .query(true) - .reply(201, {"@odata.context":"https://endpoint/$metadata#indexes/$entity","@odata.etag":"\"0x8D8BE6A79A726A9\"","name":"hotel-live-test4","defaultScoringProfile":null,"fields":[{"name":"id","type":"Edm.String","searchable":false,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"awesomenessLevel","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"details","type":"Edm.ComplexType","fields":[{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"hiddenWeight","type":"Edm.Int32","searchable":false,"filterable":false,"retrievable":false,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}, [ + .reply(201, {"@odata.context":"https://endpoint/$metadata#indexes/$entity","@odata.etag":"\"0x8D9252C88533541\"","name":"hotel-live-test4","defaultScoringProfile":null,"fields":[{"name":"id","type":"Edm.String","searchable":false,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"normalizer":null,"synonymMaps":[]},{"name":"awesomenessLevel","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"normalizer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"normalizer":null,"synonymMaps":[]},{"name":"details","type":"Edm.ComplexType","fields":[{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"normalizer":null,"synonymMaps":[]}]},{"name":"hiddenWeight","type":"Edm.Int32","searchable":false,"filterable":false,"retrievable":false,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"normalizer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"normalizers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity","k1":null,"b":null}}, [ 'Cache-Control', 'no-cache', 'Pragma', @@ -17,13 +17,13 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'ETag', - 'W/"0x8D8BE6A79A726A9"', + 'W/"0x8D9252C88533541"', 'Location', - "https://endpoint/indexes('hotel-live-test4')?api-version=2020-06-30", + "https://endpoint/indexes('hotel-live-test4')?api-version=2020-06-30-Preview", 'request-id', - 'cc057090-afd9-40b6-942e-04946040c48b', + '221258eb-fe32-4f5e-8c00-954eae936bc0', 'elapsed-time', - '537', + '617', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,15 +31,15 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:12:58 GMT', + 'Tue, 01 Jun 2021 18:39:04 GMT', 'Content-Length', - '1589' + '1696' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) .get('/indexes(%27hotel-live-test4%27)') .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195eff71fa307f9737777fb77cd916edf5472303971a5c10d0dff7a39d77074f0f9e9c7e7afce0e1f183bd4f8f1ffebe1f51ab65b6c8e9eb79d5e6e576595ce6dbe8769fbe99e5e7d9ba6c5f4fabba585ebcacabf3a2a4a6cb75598e3e3a2ff272d67cf4e87bbfd8402866f44e7bbdc2efa7b3c5f8758bd7e833413b9be0e5f3ac6c72bc5db6791d7c54e7d43ebf94cfda7a4d1f3555ddcadfdae63c9bd268fc4fdee6d7a63513e0789995d73fc86b83a6f4ddfd34ebfcdd5c2fabe5f5e28b6c85117dff978ceca0b2abbca916f9326f9ae7f9655ed270bc213eadd640860070370166fe1005c18d2394bfbd01ca073c3e85f8b332c059de4ceb62d516d592c6e18d2d3a7d82943f34c56de3d8b48d3738fde48730ba362bca8646e18deca45aaccafcdd1b7c4258f51899e4c57be3a42acb7c0afa6ce16521cb1dfa5e7093f1c8887dbac827ef491669f1b344159f2ef36236cb97dfcd8b8b794b43d1a1627c67cbf6de1e7d247d085a8a8b3f3cfd28189f7eb66980fac9cfd608e9a34059f1c7a38fe8b3e64b6671fa405f5d5f5c909acb6bfa044d0c68fdb3addee6cba2f3f7331ebf7e42b4a9830ff2e5b4bee64e7e2f8c4ebb29164599d5d0c78faca2576afff817c5b4ae9aeabc1d1fff605de7e3d73ce8f1932ff6eebf76ef11b5760db889fcf24b7ec9ff03f09f854035060000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195eff71fa307f9737777fb77cd916edf5472303971a5c10d0dff7a39d77074f1feedddf3b3938b87fefdefdfddddff7236ab5cc16397d3dafdabcdc2e8bcb7c1bddeed337b3fc3c5b97edeb695517cb8b9775755e94d474b92ecbd147e7455ece9a8f1e7def171b08c58cde69af57f8fd74b618bf6ef11a7d26686713bc7c9e954d8eb7cb36af838fea9cdae797f2595bafe9a3a6aa5bf95bdb9c67531a8dffc9dbfcdab466021c2fb3f2fa07796dd094bebb9f669dbf9755bdc8cac2fba4b95e56cbebc517d90a63fcfe2f19d961665779532df265de34cff3cbbca4017a837e5aad811e01e08e035cfd410bca1bc72c7f7b43960f78c40af18734e459de4ceb62d516d59246e68d363ac582a63f58c576e368b58d375cfde4e764bc6d56940d8dcb1beb49b55895f9bb37f884f0ecb13f4999f7c6495596f91414dbc2cb42a83bf4bd602b23141af894924fde9350d2e28746279f52f36236cb97dfcd8b8b794b83d3c163c467cbf6de1e7d24bd0aa28a9d3f60fd2818b17eb669c8fac90f6fccf451a006f9e3d147f459f3250b067da0afae2f2e4881e6357d8226a633fdd3f5a51fb4d5db7cd9fdfb1993483f21f2d5c107f9725a5f73afbf1708a0fd168ba2cc6aa8fe47d6a6e884fcf817c5b4ae9aeabc1d1fff605de7e3d74c97f1932ff6eebf76ef1141770db889fcf24b7ec9ff03f38492e1a0060000"], [ 'Cache-Control', 'no-cache', 'Pragma', @@ -51,13 +51,13 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'ETag', - 'W/"0x8D8BE6A79A726A9"', + 'W/"0x8D9252C88533541"', 'Vary', 'Accept-Encoding', 'request-id', - '43c18e09-236b-4dc2-b6da-c46b71959ada', + 'fa46be46-6871-4315-9bbf-4fb8ec9c1cb7', 'elapsed-time', - '21', + '16', 'OData-Version', '4.0', 'Preference-Applied', @@ -65,9 +65,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:12:58 GMT', + 'Tue, 01 Jun 2021 18:39:04 GMT', 'Content-Length', - '662' + '672' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) @@ -81,11 +81,11 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'request-id', - '3ad3a4d7-5121-451c-8fd9-98c1d607216b', + '97d4d90e-f4c3-4353-ac02-fec9090b735c', 'elapsed-time', '118', 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:12:58 GMT' + 'Tue, 01 Jun 2021 18:39:04 GMT' ]); diff --git a/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_gets_the_correct_index_object.js b/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_gets_the_correct_index_object.js index baefe45ffb9e..43c2a2bf34fd 100644 --- a/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_gets_the_correct_index_object.js +++ b/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_gets_the_correct_index_object.js @@ -7,7 +7,7 @@ module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) .get('/indexes(%27hotel-live-test3%27)') .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195eff71fa307f9737777fb77cd916edf5472303971a5c10d0dff7a39d77074f0f9e9c7e7afce9c9dec1d3d37bc7bfef47d46a992d72fa7a5eb579b95d1697f936babd47dfccf2f36c5db6afa7555d2c2f5ed6d5795152d3e5ba2c471f9d1779396b3e7af4bd5f6c2014337aa7bd5ee1f7d3d962fcbac56bf499a09d4df0f279563639de2edbbc0e3eaa736a9f5fca676dbda68f9aaa6ee56f6d739e4d6934fe276ff36bd39a0970bccccaeb1fe4b54153faee7e9a75fe6eae97d5f27af145b6c288beff4b467650d955de548b7c9937cdf3fc322f6938de109f566b204300b89b00337f8882e0c611cadfde00e5031e9f42fc5919e02c6fa675b16a8b6a49e3f0c6169d3e41ca1f9ae2b6716cdac61b9c7ef243185d9b156543a3f04676522d5665feee0d3e21ac7a8c4cf2e2bd715295653e057db6f0b290e50e7d2fb8c97864c43e5de493f7248bb4f859a28a4f9779319be5cbefe6c5c5bca5a1e85031beb3657b6f8f3e923e042dc5c51f9e7e148c4f3fdb3440fde4676b84f451a0acf8e3d147f459f325b3387da0afae2f2e48cde5357d822606b4fed9566ff365d1f9fb198f5f3f21dad4c107f9725a5f7327bf1746a7dd148ba2cc6ae8e34756d12bb57ffc8b625a574d75de8e8f7fb0aef3f16b1ef4f8c9177bf75fbbf7885abb06dc447ef925bfe4ff018fd4194e35060000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195eff71fa307f9737777fb77cd916edf5472303971a5c10d0dff7a39d77074f1feedddf3b7970fce0f8f8c9939ddff7236ab5cc16397d3dafdabcdc2e8bcb7c1bdddea36f66f979b62edbd7d3aa2e96172febeabc28a9e9725d96a38fce8bbc9c351f3dfade2f36108a19bdd35eaff0fbe96c317edde235fa4cd0ce2678f93c2b9b1c6f976d5e071fd539b5cf2fe5b3b65ed3474d55b7f2b7b639cfa6341aff93b7f9b569cd04385e66e5f50ff2daa0297d773fcd3a7f2fab7a919585f74973bdac96d78b2fb215c6f8fd5f32b2c3ccaef2a65ae4cbbc699ee797794903f406fdb45a033d02c01d07b8fa831694378e59fef6862c1ff08815e20f69c8b3bc99d6c5aa2daa258dcc1b6d748a054d7fb08aedc6d16a1b6fb8fac9cfc978dbac281b1a9737d6936ab12af3776ff009e1d9637f9232ef8d93aa2cf32928b68597855077e87bc156462834f029259fbc27a1a4c50f8d4e3ea5e6c56c962fbf9b1717f39606a783c788cf96edbd3dfa487a1544153b7fc0fa513062fd6cd390f5931fde98e9a3400df2c7a38fe8b3e64b160cfa405f5d5f5c9002cd6bfa044d4c67faa7eb4b3f68abb7f9b2fbf73326917e42e4ab830ff2e5b4bee65e7f2f1040fb2d164599d550fd8fac4dd109f9f12f8a695d35d5793b3efec1bacec7af992ee3275fecdd7fedde2382ee1a7013f9e597fc92ff07d7bf5c52a0060000"], [ 'Cache-Control', 'no-cache', 'Pragma', @@ -19,13 +19,13 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'ETag', - 'W/"0x8D8BE6A6C28DE3A"', + 'W/"0x8D9252C7A7AABB0"', 'Vary', 'Accept-Encoding', 'request-id', - 'f46fccb6-3b29-4a59-af9f-a20e8d58f6b6', + '9f25abd6-4098-4b5a-ac14-5f97c3d6da96', 'elapsed-time', - '21', + '17', 'OData-Version', '4.0', 'Preference-Applied', @@ -33,7 +33,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:12:40 GMT', + 'Tue, 01 Jun 2021 18:38:45 GMT', 'Content-Length', - '662' + '672' ]); diff --git a/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_gets_the_list_of_indexes.js b/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_gets_the_list_of_indexes.js index 820d023335f8..755b90699331 100644 --- a/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_gets_the_list_of_indexes.js +++ b/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_gets_the_list_of_indexes.js @@ -7,7 +7,7 @@ module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) .get('/indexes') .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195eff71fa307f97371f8d3ebaccca75fed1a3ef59c8d4e482c0febe1fedbc3b787af0e4f4d3e34f77ef3fdc3d3e39f97d3fa2f6cb6c41cd3f9a576d5e6e97c565be8d8eefd137b3fc3c5b97edeb695517cb8b9775755e94d474b92ecbd147e7455ece1aee472114337aa7bd5ee1f7d3d962fcbac56bf499209e4df0f279563639de2edbbc0e3eaa736a9f5fca676dbda68f9aaa6ee56f6d739e4d6934fe276ff36bd39a4970bccccaeb1fe4b54153faee7e9a75fe6eae97d5f27af145b6c288beff4b467650d955de548b7c9937cdf3fc322f6938de109f566b204300b89b00337f8882e0c611cadfde00e5031e9f42fc5919e02c6fa675b16a8b6a49e3f0c6169d3e41ca1f9ae2b6716cdac61b9c7ef243185d9b1525c4c21bd949b55895f9bb37f884b0ea3132c98bf7c6495596f914f4d9c2cb42963bf4bde026e39111fb74914fde932cd2e267892a3e5de6c56c962fbf9b1717f39686a243c5f8ce96edbd3dfa48fa10b414177f78fa51303efd6cd300f5939fad11d24781b2e28f471fd167cd97cce2f481bebabeb8203597d7f4099a18d0fa675bbdcd9745e7ef673c7efd846853071fe4cb697dcd9dfc5e189d76532c8a32ab8b963eb10a59a9fde35f14d3ba6aaaf3767cfc83759d8f5ff3a0c74fbed8bbffdabd47d4da35e026f2cb2fc14c2a30a2aca7dd1f9eec1c9fec3dbdffe0c9c126ed7e701f53fc9efa9d619c7d4d252f9c1db08b7ce4b845fe1e6016f9f21be415a2a03fae17f8fde691091adfe4c0f4f79f9591fd7f5bb793448dcbf5946c2f10bdcd209fd5d4f2ff73c33caf6f33cc69d6e617550d7df0fe23944f360e50fef6c6271f7cf0f0e4efe17191fafaffa3b175035c65f55b1ac4d9725aae6779477d3ea9aa32cf209dd28d60a6e8bce708e5ef1ffe009b4585011e97657595ffff707c65d6b4aff2657599812f9f921cd270bc31e29337c522fff2fcbcc9e14d498782a322f6ff91a1d634445627fef0febf1fe39415694f9a3b1a8437b0cff3eaa2ce56f3eb9755b1fc599a3705f3b33ec26c36ab2944a5417803bc29ce69da3acfdbe3d8aba278e933414c06a3a3fb4092c8073feb14998aeffcffab31352da91af2d32f8be51453faffabc14dabf5b2fdff9f7fb3aa68d6ca936af6ff9309f3c75657d5c2531c1de7cd533ff0e0fafac7f3dce97b058237bf39dae8f87f58c471a4f1c6f635a312f9e4ff9da3e3d1fcff6d5013cab2bf22054b83f006f60dba3fe6ad1ffec8f299497f0563fbffc1a435659eaf9a13d80e1a8737b65be63105cdff978eed87145899b77ee803fcff69ec4fffd1874156155fd8612f092a25616964e7eb250ff8f8e2a2ce2f2446a1795f2fe83b590d941e4c3b01c396941396416843414c5eafaa52fea6af0a74445f287d67057922e2384e2af24a3e7ab437de21d884cb1ceb5ba6b34576b12c5aca55980fec8b94c2aef3f3bca65477ce41d3cbac2634a85b02bfb8265c0c6c1af953fbd6eecece78e797101ec85403a4508808e4b2f2bff8a34cd8fccbbab828f0c9f73efad647d46a91bd3bbec8cf96af735a2185ffc00088be7e02df92b671daec0bb85c1419f164113e67cbf3e2dd17593b9dd31f6855adeb69fe0cb40408df62d3b72e29ccb80a949c3ba33f7939e0ffc5cb03dfff25ff0f9dec1338581e0000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195eff71fa307f97371f8d3ebaccca75fed1a3ef59c8d4e482c0febe1fedbc3b787a70b2bfb7ffe0fec3fb4f1e1cdcff7d3fa2f6cb6c41cd3f9a576d5e6e97c565bedd648b55996fa3ff7bd460969f67ebb27d3dadea6279f1b2aece8b92de58aecb72f4d1799197b386bbf3019dcde8c5f67a850f4e678bf1eb16efd26732886c0208e759d9e40051b6792d1fb5f59a3ea9736a9e5ffa1f3555ddfa7f9f67531a177fa060dee6d7e64b26c6f1322baf7f90d70653e9b9fb69d6f97b59d58bac2cbc4f9aeb65b5bc5e7c91ad30ccefff925138d217f8fde6b10a62dfe450f5f71fd258677933ad8b555b544b1ad9fb8f56b1dd385c6df3b330de8ff2e5b85c4ff325a6ea6b0efb594deffe7f6ee0e7f5d71bf8346bf38baabea6d7de7fccf2c9c621cbdfde88e5830f1eb0fcfd3e2325ed08b5a9a33ca9ca329f62beb7dc80efd0f7d2b18feb7b8e5847f5ff8621afb2fa2d0deb6c392dd7b3bca3aa9f545599679072e958705504df73ccf2f7ff1b86dc2c2a0cf9b82cababfce7c588cbac695fe5cbea3203373f2579a6017aa3c6276f8a45fee5f97993b7f49da020582baaff9f1d7c4d836645e50fb85a03297a8dbb130c15adffcf0eb4ac4853d3fcd2b0bca17e9e571775b69a5fbfac8ae5cfd2dc2a989f833167b3599d379ed2c6904f2a38adefdee013c2b3e796366d9de7ed71ec5551f2f499a02ac3d3f17e2091e4839f031a4d8bf6e781ed6e5a526214915c16cb29a6fdffe7c39d56eb65fbf3c1275b5534b3e54935fbffeda4faa3adab6ae1a9a48e0bea2936f8a17dcde6c528f4bd02c19bdf1cb594223f77e472c4f246fb352332f9e4ff2be3e5f1fdff7f98134a71bd22654ec3f286fa0dba6ce6adff378c359f7dc90cec093d46fbffcb896dca3c5f3527b05c34326fb467cbf6de1e7d245d0a968adaff8747fb430a33cd5bff2f18f2cf9bfc09fd471f0659707c6109b1a47e28654e633d5f2f9904c71717757e21f119f1c67a41df49925f7a30ed040c5b764e2707611d057079bdaa4af99bbe2ad0117da1149f15e42b89fb3ba9c86ffae8d1de788760132ef325621ded6c915d2c8b96f23de603fbe2a35ffc519d9fe7754e7f70c0f832ab090dea96c02fae0917039b46fed4beb5bbb333def9258407961700522844046a8c7a23c89988c297757151e093ef7df4ad8fa8d5227b777c919f2d5fe7b4f0017f8601107dd7171744c4bca68f88264adac669c52fe014520cc8d347f89c2dcf8b775f64ed744e7fa055b5aea7f933d012207c7f81be75297bc655a0e4dc19fde978403f68abb7f9b2fbf733e65bfd8458ba0e3e2022d6d7dcddef05c6c4b008a9625194598d988c48a2eb323a7f3ffe4531adaba63a6fc7c73f58d7f9f8358f73fce48bbdfbafdd7bc4e8bb06dc447ef925904205463241b3e016791e3ed9fff4e9b3e393e39d9b1779f6a9c18f1679025927c2fa23658eb979ac82d8373954fdfd8734d65056de7fb48aedc6e16a9b9f85f192e87dbdb50e6fd85f33a450b47fae06fea3451ef96478a4a41dffdfe9a458d4bff121ff6891e7e7c1887fb4c80345e50ff89bcb18c8dfff6f182879e034d4ae51fed1224fcf2dfdd1220fe1fdffb75152bcf9a3451e42fdff6f03fdd1220f277f384fe6293624cbfa9acd8b51e87b058237bf396a29457eeec8e588e58df66b4664f2c9ff57c6cbe3fbffff307fb4c8f3ffd389fdd1220f3ec780bfc930d3bcf5ff8221ffbcc99fd07ff4619005c71796104bea8752e63456b378f3a3459e1f2df2d0b00829b7584324d175199dbf9fa5459e93fddd873bf79eee3dbd7991e73e35f8d1224f20eb44587fa4cc31378f5510fb2687aabfff90c61acacafb8f56b1dd385c6df3b3305e12bdafb7d6e10dfb6b86148af6cfd5c07fb4c8239f0c8f94b4e3cf0f27c50df9478b3c3f0f46fca3451e282a7fc0df5cc640fefe7fc340c903a7a1768df28f16797a6ee9ffa716798402c334ba99463f5ae4a101fcff6db83f5ae421ecffff31567fb43f5ae4b9915c8e58de68bf6644269ffc7f65bc3cbeffff0ff3478b3cff3f9dd81f2df2e0730cf89b0c33cd5bff2f18f2cf9bfc09fd471f0659707c6109b1a47e28654e63358b373f5ae4f9d1220f0d8b90728b3544125d97d1f9fb5959e4b97fefd3dde3dddd7ba7f7766f5ee4f9941afc689127907522ac3f52e6989bc72a887d9343d5df7f48630d65e5fd47abd86e1caeb6f959182f89ded75bebf086fd35430a45fbe76ae03f5ae4914f86474adaf1e78793e286fca3459e9f0723fed1220f14953fe06f2e63207fffbf61a0e481d350bb46f9478b3c3db7f4478b3c84f7ffdf4649f1e68f167908f5ffbf0df4478b3cce05f5141bfcd0be66f36214fa5e81e0cd6f8e5a4a919f3b72396279a3fd9a11997cf2ff95f1f2f8de6398ff1f1de68f1679fe7fcabf3f5ae4c1e718f03719669ab7fe5f30e49f37f913fa8f3e0cb2e0f8c2126249fd50ca9cc66a166f7eb4c8f3a3451e1a1621e5166b8824ba2ea3f3f7b3b5c8f3e0e4e1bde3e383939b17791e50831f2df204b24e84f547ca1c73f35805b16f72a8fafb0f69aca1acbcff6815db8dc3d5363f0be325d1fb7a6b1ddeb0bf6648a168ff5c0dfc478b3cf2c9f048493bfefc7052dc907fb4c8f3f360c43f5ae481a2f207fccd650ce4efff370c943c701a6ad728ff6891a7e796fe689187f0feffdb2829defcd1220fa1feffb781fe6891c7b9a09e62831fdad76c5e8c42df2b10bcf9cd514b29f273472e472c6fb45f3322934ffebf325e1edfffff87f9a3459eff9f4eec8f1679f03906fc4d8699e6adff170cf9e74dfe84fea30f832c38beb08458523f9432a7b19ac59b6f7891872052375f7f91e7478b3c5eca9e7115283977467f3a1ed00f7851a7fb77b0a6432cfdffbe459e877bf7f74e3e7d76f0e9eea77bf7061679b0ba738fbe79cfd59da2a3d444c0e933991d114c9546824474093e7a4f09d74f58c4a5f5cfaa8413397598d955de540b4a9b37cdf3fc322f6980dea0bf41b744fef6862c1ff08815e20f69c8a1a078a38d4eb1a0e90f56b1dd385a6de30d573ff939196f9b15a567ba30562fd8a22ffaec4f52e6bdf1ff6b63e728352f66b37cf9ddbcb898c3bae9e031e25bfa70fa513062fd6cd390f5931fde98e9a3400df2c7a4e37d8ba6affa668a9a98cef44fd7977ec086a3fb776037887cffef3324070f4f768e4ff69ede7ff0e4e064832139b80f2e784f53c230cebea63d117108384a3e720c257f0ff0937cf9b3ca4e44537fa4ec75dc3c5641ec9b1caafefe431aebffb7cd0849ddd75b2ff786fd35d3528af6cfd5c0cfebaf37705a7eca2faa9f0f4969528c3f3f6cbf1bf22aab91ce385b4e4b0a1c3baafa9bcc67c8dfff6f18f20f2b83237fffbf61c465d6b4aff26575c90bc94f499e6980dea8f1c99b62917f797edee470000505c15a51fdffece06b1a342b2a7fc0ff7f0cef288b4343ed1ae5cff3eaa2ce56f36bcefbd077d2b1e0aa087ee89015cccfc198b3d86aff4d215ed3d679de1ec75e15254f9f09aa323c1def0712493ef839a0d1546282ff9f8f9272966d4e11c96581d4e5ffef873bc572cbcf079f6c4549e9ac3c414ef8ffa763f5475b57d5c253491d17d4536cf043fb9acd8b51e87b058237bf396a29457eeec8e588e58df66b4664f2c9ff57c6cbe3fbffff30275993bf22654ec3f286fa0dba6ce6adff378c95d6cd98813da1c768ff7f39b14d99e7abe604968b46e68df696496641fcff33a3fd218599e6adff170cf9e74dfe84fea30f832c38beb08458523f9434a7b19eaf974c82e38b8b3abf90f88c7863bda0efdafc5d6b7a30ed040c5b764e2707611d057079bdaa4af99bbe2ad0117da1149f99957bcafb6331ffa3477be31d824db8ccb1d0693a5b6417cba2a57c8ff960665ea425873a3fcf6b5a9ac839607c99d58406754bdd2dae0917039b46fed4beb5bbb333dea1b57d62000129142202b965955ffc5126a2f0655d5c14f8e47b1f7deb236ab5c8de1d5fe467cbd7f9b45ac29f6100445f7f05c692b6715af10b38851403f2f4113e67cbf3e2dd17593b9dd31f6855adeb69fe0cb40408df5fa06f5dca9e7115283977467f3a1ed00f783da7fb77b09c432cfdffc2f59d67f7f61f9c9edebfbf7bff69647d6795d7e7bcbe435ffc687127907122a83f52e6949bc72a887d9343d5df7f48630d65e4fd47abd86e1caeb6f959182f89dcd75be3f086fd35430945fbe76ae03f5adc914f86474a5af1e78773e286fca3c59d9f0723fed1e20e14953fe06f2e53207fffbf61a0e479d350bb46f9478b3b3db7f4478b3b84f7ffdf464971e68f167708f5ffbf0df4478b3bce05f5141bfcd0be66f36214fa5e81e0cd6f8e5a4a919f3b72396279a3fd9a11997cf2ff95f1f2f8feff3fcc1f2deefcff74627fb4b883cf31e06f32cc346ffdbf60c83f6ff227f41f7d1864c1f18525c492fa918cb959b4f9d1e2ce8f1677685884945ba42192e87a8ccedf872cee7cff97fc3ffca52d0bdabb0000"], [ 'Cache-Control', 'no-cache', 'Pragma', @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'f3aa966b-3b6c-4299-b10c-631337f61de2', + '225b25d7-a5a3-48c0-b6f9-86b83af2e7c6', 'elapsed-time', - '69', + '148', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:12:22 GMT', + 'Tue, 01 Jun 2021 18:38:27 GMT', 'Content-Length', - '1356' + '3381' ]); diff --git a/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_gets_the_list_of_indexes_names.js b/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_gets_the_list_of_indexes_names.js index 72d3540d3024..beda6402c8d2 100644 --- a/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_gets_the_list_of_indexes_names.js +++ b/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_gets_the_list_of_indexes_names.js @@ -7,7 +7,7 @@ module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) .get('/indexes') .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195eff71fa307f97375bcb6c91dff968f4d16556aef38f1e7def177f844f00b56af372bb2c2ef36d00bef7d12f190d7d77707fefa35ff2fd5ff2ff0003b5259b9b000000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195eff71fa307f97375bcb6c91dff968f4d16556aef38f1e7def177f844f00b56af372bb2c2ef3ed265bacca7c1bf0ef7df44b463734d9bfb9c9fd9b9b7c7a739307034df0dd109ef8eee0fe5effdb555e9ff3b71ffd92efff92ff07d2d479d365010000"], [ 'Cache-Control', 'no-cache', 'Pragma', @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - '2196e96b-a69d-4235-8c16-8c4f84386979', + 'd85d620f-5f0a-4b46-bf6a-401a60c6205c', 'elapsed-time', - '20', + '22', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:12:31 GMT', + 'Tue, 01 Jun 2021 18:38:35 GMT', 'Content-Length', - '233' + '265' ]); diff --git a/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_modify_and_updates_the_index_object.js b/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_modify_and_updates_the_index_object.js index 313d64d73104..0ac40f961479 100644 --- a/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_modify_and_updates_the_index_object.js +++ b/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_modify_and_updates_the_index_object.js @@ -7,7 +7,7 @@ module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) .get('/indexes(%27hotel-live-test3%27)') .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195eff71fa307f9737777fb77cd916edf5472303971a5c10d0dff7a39d77074f0f9e9c7e7afce0e4c9b39d07cf8e7fdf8fa8d5325be4f4f5bc6af372bb2c2ef36d747b8fbe99e5e7d9ba6c5f4fabba585ebcacabf3a2a4a6cb75598e3e3a2ff272d67cf4e87bbfd8402866f44e7bbdc2efa7b3c5f8758bd7e833413b9be0e5f3ac6c72bc5db6791d7c54e7d43ebf94cfda7a4d1f3555ddcadfdae63c9bd268fc4fdee6d7a63513e0789995d73fc86b83a6f4ddfd34ebfcdd5c2fabe5f5e28b6c85117dff978ceca0b2abbca916f9326f9ae7f9655ed270bc213eadd640860070370166fe1005c18d2394bfbd01ca073c3e85f8b332c059de4ceb62d516d592c6e18d2d3a7d82943f34c56de3d8b48d3738fde48730ba362bca8646e18deca45aaccafcdd1b7c4258f51899e4c57be3a42acb7c0afa6ce16521cb1dfa5e7093f1c8887dbac827ef491669f1b344159f2ef36236cb97dfcd8b8b794b43d1a1627c67cbf6de1e7d247d085a8a8b3f3cfd28189f7eb66980fac9cfd608e9a34059f1c7a38fe8b3e64b6671fa405f5d5f5c909acb6bfa044d0c68fdb3addee6cba2f3f7331ebf7e42b4a9830ff2e5b4bee64e7e2f8c4ebb29164599d5d0c78faca2576afff817c5b4ae9aeabc1d1fff605de7e3d73ce8f1932ff6eebf76ef11b5760db889fcf24b7ec9ff0347f983d235060000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195eff71fa307f9737777fb77cd916edf5472303971a5c10d0dff7a39d77074f1feedddf3b3978f260efe1def193dff7236ab5cc16397d3dafdabcdc2e8bcb7c1bdddea36f66f979b62edbd7d3aa2e96172febeabc28a9e9725d96a38fce8bbc9c351f3dfade2f36108a19bdd35eaff0fbe96c317edde235fa4cd0ce2678f93c2b9b1c6f976d5e071fd539b5cf2fe5b3b65ed3474d55b7f2b7b639cfa6341aff93b7f9b569cd04385e66e5f50ff2daa0297d773fcd3a7f2fab7a919585f74973bdac96d78b2fb215c6f8fd5f32b2c3ccaef2a65ae4cbbc699ee797794903f406fdb45a033d02c01d07b8fa831694378e59fef6862c1ff08815e20f69c8b3bc99d6c5aa2daa258dcc1b6d748a054d7fb08aedc6d16a1b6fb8fac9cfc978dbac281b1a9737d6936ab12af3776ff009e1d9637f9232ef8d93aa2cf32928b68597855077e87bc156462834f029259fbc27a1a4c50f8d4e3ea5e6c56c962fbf9b1717f39606a783c788cf96edbd3dfa487a1544153b7fc0fa513062fd6cd390f5931fde98e9a3400df2c7a38fe8b3e64b160cfa405f5d5f5c9002cd6bfa044d4c67faa7eb4b3f68abb7f9b2fbf73326917e42e4ab830ff2e5b4bee65e7f2f1040fb2d164599d550fd8fac4dd109f9f12f8a695d35d5793b3efec1bacec7af992ee3275fecdd7fedde2382ee1a7013f9e597fc92ff07e2063077a0060000"], [ 'Cache-Control', 'no-cache', 'Pragma', @@ -19,13 +19,13 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'ETag', - 'W/"0x8D8BE6A7CBF07FA"', + 'W/"0x8D9252C8B7292AB"', 'Vary', 'Accept-Encoding', 'request-id', - 'f8ef32a6-3d86-4fa9-9257-6b555a05abca', + '472620b4-629b-4281-85e6-5a4f926ffa5c', 'elapsed-time', - '26', + '15', 'OData-Version', '4.0', 'Preference-Applied', @@ -33,15 +33,15 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:13:08 GMT', + 'Tue, 01 Jun 2021 18:39:13 GMT', 'Content-Length', - '662' + '672' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .put('/indexes(%27hotel-live-test3%27)', {"name":"hotel-live-test3","fields":[{"name":"id","type":"Edm.String","key":true,"retrievable":true,"searchable":false,"filterable":false,"sortable":false,"facetable":false,"searchAnalyzer":null,"indexAnalyzer":null,"synonymMaps":[]},{"name":"awesomenessLevel","type":"Edm.Double","key":false,"retrievable":true,"searchable":false,"filterable":true,"sortable":true,"facetable":true,"searchAnalyzer":null,"indexAnalyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","key":false,"retrievable":true,"searchable":true,"filterable":false,"sortable":false,"facetable":false,"searchAnalyzer":null,"indexAnalyzer":null,"synonymMaps":[]},{"name":"details","type":"Edm.ComplexType","fields":[{"name":"tags","type":"Collection(Edm.String)","key":false,"retrievable":true,"searchable":true,"filterable":true,"sortable":false,"facetable":true,"analyzer":null,"searchAnalyzer":null,"indexAnalyzer":null,"synonymMaps":[]}]},{"name":"hiddenWeight","type":"Edm.Int32","key":false,"retrievable":false,"searchable":false,"filterable":false,"sortable":false,"facetable":false,"searchAnalyzer":null,"indexAnalyzer":null,"synonymMaps":[]},{"name":"lastUpdatedOn","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"sortable":false,"facetable":false}],"scoringProfiles":[],"defaultScoringProfile":null,"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity"},"@odata.etag":"\"0x8D8BE6A7CBF07FA\""}) + .put('/indexes(%27hotel-live-test3%27)', {"name":"hotel-live-test3","fields":[{"name":"id","type":"Edm.String","key":true,"retrievable":true,"searchable":false,"filterable":false,"sortable":false,"facetable":false,"searchAnalyzer":null,"indexAnalyzer":null,"synonymMaps":[]},{"name":"awesomenessLevel","type":"Edm.Double","key":false,"retrievable":true,"searchable":false,"filterable":true,"sortable":true,"facetable":true,"searchAnalyzer":null,"indexAnalyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","key":false,"retrievable":true,"searchable":true,"filterable":false,"sortable":false,"facetable":false,"searchAnalyzer":null,"indexAnalyzer":null,"synonymMaps":[]},{"name":"details","type":"Edm.ComplexType","fields":[{"name":"tags","type":"Collection(Edm.String)","key":false,"retrievable":true,"searchable":true,"filterable":true,"sortable":false,"facetable":true,"analyzer":null,"searchAnalyzer":null,"indexAnalyzer":null,"synonymMaps":[]}]},{"name":"hiddenWeight","type":"Edm.Int32","key":false,"retrievable":false,"searchable":false,"filterable":false,"sortable":false,"facetable":false,"searchAnalyzer":null,"indexAnalyzer":null,"synonymMaps":[]},{"name":"lastUpdatedOn","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"sortable":false,"facetable":false}],"scoringProfiles":[],"defaultScoringProfile":null,"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":{"@odata.type":"#Microsoft.Azure.Search.BM25Similarity"},"@odata.etag":"\"0x8D9252C8B7292AB\""}) .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195eff71fa307f9737777fb77cd916edf5472303971a5c10d0dff7a39d77074f0f9e9c7e7afce0d9fed3fbf7f7f67edf8fa8d5325be4f4f5bc6af372bb2c2ef36d747b8fbe99e5e7d9ba6c5f4fabba585ebcacabf3a2a4a6cb75598e3e3a2ff272d67cf4e87bbfd8402866f44e7bbdc2efa7b3c5f8758bd7e833413b9be0e5f3ac6c72bc5db6791d7c54e7d43ebf94cfda7a4d1f3555ddcadfdae63c9bd268fc4fdee6d7a63513e0789995d73fc86b83a6f4ddfd34ebfcdd5c2fabe5f5e28b6c85117dff978ceca0b2abbca916f9326f9ae7f9655ed270bc213eadd640860070370166fe1005c18d2394bfbd01ca073c3e85f8b332c059de4ceb62d516d592c6e18d2d3a7d82943f34c56de3d8b48d3738fde48730ba362bca8646e18deca45aaccafcdd1b7c4258f51899e4c57be3a42acb7c0afa6ce16521cb1dfa5e7093f1c8887dbac827ef491669f1b344159f2ef36236cb97dfcd8b8b794b43d1a1627c67cbf6de1e7d247d085a8a8b3f3cfd28189f7eb66980fac9cfd208ddf8caac69bf5a91facb675f76f8fa297df8a658e45f9e9f3739062f7d05f8f923953909062a1ffddc8df3fbf451a094f9e3d147f459f3258b327da0afae2f2e489de7357d822606b4fed9566ff365d1f9fb198f5e3f21cad4c107f9725a5f7327bf1746a7dd148ba2cc6ad89d47d6a029d17ffc8b625a574d75de8e8f7fb0aef3f16b1ef4f8c9177bf75fbbf7885abb06dc447ef925bfe4ff0117a691d01d070000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195eff71fa307f9737777fb77cd916edf5472303971a5c10d0dff7a39d77074f1feedddf3b3978fa6cffe9ceded3dff7236ab5cc16397d3dafdabcdc2e8bcb7c1bdddea36f66f979b62edbd7d3aa2e96172febeabc28a9e9725d96a38fce8bbc9c351f3dfade2f36108a19bdd35eaff0fbe96c317edde235fa4cd0ce2678f93c2b9b1c6f976d5e071fd539b5cf2fe5b3b65ed3474d55b7f2b7b639cfa6341aff93b7f9b569cd04385e66e5f50ff2daa0297d773fcd3a7f2fab7a919585f74973bdac96d78b2fb215c6f8fd5f32b2c3ccaef2a65ae4cbbc699ee797794903f406fdb45a033d02c01d07b8fa831694378e59fef6862c1ff08815e20f69c8b3bc99d6c5aa2daa258dcc1b6d748a054d7fb08aedc6d16a1b6fb8fac9cfc978dbac281b1a9737d6936ab12af3776ff009e1d9637f9232ef8d93aa2cf32928b68597855077e87bc156462834f029259fbc27a1a4c50f8d4e3ea5e6c56c962fbf9b1717f39606a783c788cf96edbd3dfa487a1544153b7fc0fa513062fd6cd390f5931fda98dd88cbac69bf5a9162cd675f76a4e1297df8a658e45f9e9f3739c821bd0718fb6397790b862e1ffdbf69e4dfa78f0203c01f8f3ea2cf9a2f5925d007faeafae2824c475ed32768623ad33f5d5ffa415bbdcd97ddbf9f3181f413225e1d7c902fa7f535f7fa7b8100da6fb128caac86d17b64ada9cecb8f7f514cebaaa9cedbf1f10fd6753e7ecd74193ff962effe6bf71e1174d7809bc82fbfe497fc3fbccae6dc9a070000"], [ 'Cache-Control', 'no-cache', 'Pragma', @@ -53,13 +53,13 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'ETag', - 'W/"0x8D8BE6A7F4D5522"', + 'W/"0x8D9252C8DF4D02D"', 'Vary', 'Accept-Encoding', 'request-id', - '50dc273a-f47d-42fd-92d8-e060a880c7cf', + '35b90eac-f7c1-41e0-9d97-fbb7056f3cba', 'elapsed-time', - '162', + '134', 'OData-Version', '4.0', 'Preference-Applied', @@ -67,15 +67,15 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:13:08 GMT', + 'Tue, 01 Jun 2021 18:39:13 GMT', 'Content-Length', - '706' + '716' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) .get('/indexes(%27hotel-live-test3%27)') .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195eff71fa307f9737777fb77cd916edf5472303971a5c10d0dff7a39d77074f0f9e9c7e7afce0d9fed3fbf7f7f67edf8fa8d5325be4f4f5bc6af372bb2c2ef36d747b8fbe99e5e7d9ba6c5f4fabba585ebcacabf3a2a4a6cb75598e3e3a2ff272d67cf4e87bbfd8402866f44e7bbdc2efa7b3c5f8758bd7e833413b9be0e5f3ac6c72bc5db6791d7c54e7d43ebf94cfda7a4d1f3555ddcadfdae63c9bd268fc4fdee6d7a63513e0789995d73fc86b83a6f4ddfd34ebfcdd5c2fabe5f5e28b6c85117dff978ceca0b2abbca916f9326f9ae7f9655ed270bc213eadd640860070370166fe1005c18d2394bfbd01ca073c3e85f8b332c059de4ceb62d516d592c6e18d2d3a7d82943f34c56de3d8b48d3738fde48730ba362bca8646e18deca45aaccafcdd1b7c4258f51899e4c57be3a42acb7c0afa6ce16521cb1dfa5e7093f1c8887dbac827ef491669f1b344159f2ef36236cb97dfcd8b8b794b43d1a1627c67cbf6de1e7d247d085a8a8b3f3cfd28189f7eb66980fac9cfd208ddf8caac69bf5a91facb675f76f8fa297df8a658e45f9e9f3739062f7d05f8f923953909062a1ffddc8df3fbf451a094f9e3d147f459f3258b327da0afae2f2e489de7357d822606b4fed9566ff365d1f9fb198f5e3f21cad4c107f9725a5f7327bf1746a7dd148ba2cc6ad89d47d6a029d17ffc8b625a574d75de8e8f7fb0aef3f16b1ef4f8c9177bf75fbbf7885abb06dc447ef925bfe4ff0117a691d01d070000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195eff71fa307f9737777fb77cd916edf5472303971a5c10d0dff7a39d77074f1feedddf3b3978fa6cffe9ceded3dff7236ab5cc16397d3dafdabcdc2e8bcb7c1bdddea36f66f979b62edbd7d3aa2e96172febeabc28a9e9725d96a38fce8bbc9c351f3dfade2f36108a19bdd35eaff0fbe96c317edde235fa4cd0ce2678f93c2b9b1c6f976d5e071fd539b5cf2fe5b3b65ed3474d55b7f2b7b639cfa6341aff93b7f9b569cd04385e66e5f50ff2daa0297d773fcd3a7f2fab7a919585f74973bdac96d78b2fb215c6f8fd5f32b2c3ccaef2a65ae4cbbc699ee797794903f406fdb45a033d02c01d07b8fa831694378e59fef6862c1ff08815e20f69c8b3bc99d6c5aa2daa258dcc1b6d748a054d7fb08aedc6d16a1b6fb8fac9cfc978dbac281b1a9737d6936ab12af3776ff009e1d9637f9232ef8d93aa2cf32928b68597855077e87bc156462834f029259fbc27a1a4c50f8d4e3ea5e6c56c962fbf9b1717f39606a783c788cf96edbd3dfa487a1544153b7fc0fa513062fd6cd390f5931fda98dd88cbac69bf5a9162cd675f76a4e1297df8a658e45f9e9f3739c821bd0718fb6397790b862e1ffdbf69e4dfa78f0203c01f8f3ea2cf9a2f5925d007faeafae2824c475ed32768623ad33f5d5ffa415bbdcd97ddbf9f3181f413225e1d7c902fa7f535f7fa7b8100da6fb128caac86d17b64ada9cecb8f7f514cebaaa9cedbf1f10fd6753e7ecd74193ff962effe6bf71e1174d7809bc82fbfe497fc3fbccae6dc9a070000"], [ 'Cache-Control', 'no-cache', 'Pragma', @@ -87,13 +87,13 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'ETag', - 'W/"0x8D8BE6A7F4D5522"', + 'W/"0x8D9252C8DF4D02D"', 'Vary', 'Accept-Encoding', 'request-id', - 'fff6ebf4-de5f-42b6-8b47-2ded2ee0c8de', + '86ab5970-8204-4e81-aac5-183350d31586', 'elapsed-time', - '17', + '20', 'OData-Version', '4.0', 'Preference-Applied', @@ -101,7 +101,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:13:08 GMT', + 'Tue, 01 Jun 2021 18:39:13 GMT', 'Content-Length', - '706' + '716' ]); diff --git a/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_throws_error_for_invalid_index_object.js b/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_throws_error_for_invalid_index_object.js index 7455ce26327a..8bb334f6db93 100644 --- a/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_throws_error_for_invalid_index_object.js +++ b/sdk/search/search-documents/recordings/node/searchindexclient_indexes/recording_throws_error_for_invalid_index_object.js @@ -19,9 +19,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'request-id', - 'fa711e82-e29e-49d8-98d1-7542619b8d25', + '4248c061-bf84-43ba-bb74-2ab221fbc1c9', 'elapsed-time', - '15', + '16', 'OData-Version', '4.0', 'Preference-Applied', @@ -29,7 +29,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:12:48 GMT', + 'Tue, 01 Jun 2021 18:38:54 GMT', 'Content-Length', '110' ]); diff --git a/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_creates_the_synonymmap_object_using_createorupdatesynonymmap.js b/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_creates_the_synonymmap_object_using_createorupdatesynonymmap.js index 9f2d1d631e89..34d90e2e4977 100644 --- a/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_creates_the_synonymmap_object_using_createorupdatesynonymmap.js +++ b/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_creates_the_synonymmap_object_using_createorupdatesynonymmap.js @@ -7,7 +7,7 @@ module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) .put('/synonymmaps(%27my-azure-synonymmap-3%27)', {"name":"my-azure-synonymmap-3","format":"solr","synonyms":"United States, United States of America => USA\nWashington, Wash. => WA"}) .query(true) - .reply(201, {"@odata.context":"https://endpoint/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D8BE6A58EEDF81\"","name":"my-azure-synonymmap-3","format":"solr","synonyms":"United States, United States of America => USA\nWashington, Wash. => WA","encryptionKey":null}, [ + .reply(201, {"@odata.context":"https://endpoint/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D9252C66F6BB32\"","name":"my-azure-synonymmap-3","format":"solr","synonyms":"United States, United States of America => USA\nWashington, Wash. => WA","encryptionKey":null}, [ 'Cache-Control', 'no-cache', 'Pragma', @@ -17,13 +17,13 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'ETag', - 'W/"0x8D8BE6A58EEDF81"', + 'W/"0x8D9252C66F6BB32"', 'Location', - "https://endpoint/synonymmaps('my-azure-synonymmap-3')?api-version=2020-06-30", + "https://endpoint/synonymmaps('my-azure-synonymmap-3')?api-version=2020-06-30-Preview", 'request-id', - '2f1b5424-a099-4cbe-8618-97484d04c844', + '11575391-c38e-4c95-8d39-189630f97c75', 'elapsed-time', - '33', + '20', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:12:03 GMT', + 'Tue, 01 Jun 2021 18:38:08 GMT', 'Content-Length', '284' ]); @@ -39,7 +39,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) nock('https://endpoint:443', {"encodedQueryParams":true}) .get('/synonymmaps(%27my-azure-synonymmap-3%27)') .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195efff1e67a592daf178b6cd5dcfdddf2655bb4d71f8d0c6c6a7441807fdf8f76de1d3c3d7872fae9f1fd83d3d3a7cf0e767fdf8fa8d5325be4f4f5e27a3bfbc1baceb71daced7bf4f579552f3220d654654d7febd70d7df2d5b268f359fabacd08d9511afc9956e7e9f122af8b69967e76947ef5faf8f75d7e376be6c5f2a2ad96a314bf8ff1cd778f0968be9cd6d7abb6a896bf577efdd1a3e5ba2c7fc9ff03c29423261c010000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195efff1e67a592daf178b6cd5dcfdddf2655bb4d71f8d0c6c6a7441807fdf8f76de1d3c7db8777fefe4d34f9f7dfae4c9bdbddff7236ab5cc16397dbdb8dece7eb0aef36d076bfb1e7d7d5ed58b0c88355559d3dffa75439f7cb52cda7c96be6e33427694067fa6d5797abcc8eb629aa59f1da55fbd3efe7d97dfcd9a79b1bc68abe528c5ef637cf3dd63029a2fa7f5f5aa2daae5ef955f7ff468b92ecb5ff2ff00eaad8a4a1c010000"], [ 'Cache-Control', 'no-cache', 'Pragma', @@ -51,13 +51,13 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'ETag', - 'W/"0x8D8BE6A58EEDF81"', + 'W/"0x8D9252C66F6BB32"', 'Vary', 'Accept-Encoding', 'request-id', - '813b9d71-445f-4f3c-8300-24d8a82dbfd0', + '90e7c040-5af2-448e-abbc-4d7406623b84', 'elapsed-time', - '7', + '6', 'OData-Version', '4.0', 'Preference-Applied', @@ -65,9 +65,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:12:03 GMT', + 'Tue, 01 Jun 2021 18:38:08 GMT', 'Content-Length', - '334' + '335' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) @@ -81,11 +81,11 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'request-id', - '5d59020f-d4d0-44db-b42a-761528cba861', + '2acc75a6-4baa-4099-a201-ffc01c1d3eb0', 'elapsed-time', '11', 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:12:03 GMT' + 'Tue, 01 Jun 2021 18:38:08 GMT' ]); diff --git a/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_gets_the_correct_synonymmap_object.js b/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_gets_the_correct_synonymmap_object.js index 44df4ffe4e73..6aae4800c389 100644 --- a/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_gets_the_correct_synonymmap_object.js +++ b/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_gets_the_correct_synonymmap_object.js @@ -7,7 +7,7 @@ module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) .get('/synonymmaps(%27my-azure-synonymmap-1%27)') .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195efff1e67a592daf178b6cd5dcfdddf2655bb4d71f8d0c6c6a7441807fdf8f76de1d3c3d7872fae9f1fe934fef9dec3d7cf0fb7e44ad96d922a7af17d7dbd90fd675beed606defd2d7e755bdc88058539535fdad5f37f4c957cba2cd67e9eb3623644769f0675a9da7c78bbc2ea659fad951fad5ebe3df77f9ddac9917cb8bb65a8e52fc3ec637df3d26a0f9725a5fafdaa25afe5ef9f5478f96ebb2fc25ff0ff3fe4f621c010000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195efff1e67a592daf178b6cd5dcfdddf2655bb4d71f8d0c6c6a7441807fdf8f76de1d3c7db8777fefe4fec37b274f3efdf4e4f7fd885a2db3454e5f2faeb7b31faceb7cdbc1dadea5afcfab7a9101b1a62a6bfa5bbf6ee893af96459bcfd2d76d46c88ed2e0cfb43a4f8f17795d4cb3f4b3a3f4abd7c7bfeff2bb59332f96176db51ca5f87d8c6fbe7b4c40f3e5b4be5eb545b5fcbdf2eb8f1e2dd765f94bfe1f804067571c010000"], [ 'Cache-Control', 'no-cache', 'Pragma', @@ -19,13 +19,13 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'ETag', - 'W/"0x8D8BE6A4B63C297"', + 'W/"0x8D9252C593CB66C"', 'Vary', 'Accept-Encoding', 'request-id', - '7e9adbee-e677-4cd6-ad6e-32041199a320', + 'e91e0ab8-b702-4e16-bbbf-0353bebc01e7', 'elapsed-time', - '10', + '6', 'OData-Version', '4.0', 'Preference-Applied', @@ -33,7 +33,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:11:45 GMT', + 'Tue, 01 Jun 2021 18:37:50 GMT', 'Content-Length', '334' ]); diff --git a/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_gets_the_list_of_synonymmaps.js b/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_gets_the_list_of_synonymmaps.js index d45ed1119d91..865ed6579f8d 100644 --- a/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_gets_the_list_of_synonymmaps.js +++ b/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_gets_the_list_of_synonymmaps.js @@ -7,7 +7,7 @@ module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) .get('/synonymmaps') .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195efff1e67a592daf178b6cd57c34fae8322bd7f9478fbe67a153b30b02fdfb7eb4f3eee0e9c193d34f8ff7778eef7d7ab0b7fffb7e44ed97d9829a7fb4b8dece7eb0aef36d076d7b97be3eafea4506d49aaaace96ffdbaa14fbe5a166d3e4b5fb719a13b4a833fd3ea3c3d5ee47531cdd2cf8ed2af5e1fffbecbef66cdbc585eb4d57294e2f731bef9ee3101cd97d3fa7ad516d5f2f7caaf3f7ab45c97e52f196d1ec09307cf9eeddc34803dfafae76c00dfff25ff0f6bcc504ce1010000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195efff1e67a592daf178b6cd57c34fae8322bd7f9478fbe67a153b30b02fdfb7eb4f3eee0e9c3bdfb7b27fba79fde7b78f2e9eeeffb11b55f660b6afed1e27a3bfbc1baceb71db4ed5dfafabcaa1719506baab2a6bff5eb863ef96a59b4f92c7ddd6684ee280dfe4cabf3f47891d7c5344b3f3b4abf7a7dfcfb2ebf9b35f36279d156cb518adfc7f8e6bbc704345f4eebeb555b54cbdf2bbffee8d1725d96bf64b479004f77ef3d7b78d300f6e8eb9fb3017cff97fc3f00b15ac6e1010000"], [ 'Cache-Control', 'no-cache', 'Pragma', @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'c78417ed-937d-4738-a69e-faa5c2f2aac7', + 'a37d8c22-4898-4631-b8a1-bbdfe9093bcf', 'elapsed-time', - '26', + '14', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:11:28 GMT', + 'Tue, 01 Jun 2021 18:37:31 GMT', 'Content-Length', '356' ]); diff --git a/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_gets_the_list_of_synonymmaps_names.js b/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_gets_the_list_of_synonymmaps_names.js index e30da7be7556..b63eadafafcb 100644 --- a/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_gets_the_list_of_synonymmaps_names.js +++ b/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_gets_the_list_of_synonymmaps_names.js @@ -21,9 +21,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Vary', 'Accept-Encoding', 'request-id', - 'f483b373-2fbf-4b06-9f1c-e22afafb08bd', + 'd60271e3-e200-4043-98fd-29c6b60f05df', 'elapsed-time', - '7', + '6', 'OData-Version', '4.0', 'Preference-Applied', @@ -31,7 +31,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:11:37 GMT', + 'Tue, 01 Jun 2021 18:37:40 GMT', 'Content-Length', '236' ]); diff --git a/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_modify_and_updates_the_synonymmap_object.js b/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_modify_and_updates_the_synonymmap_object.js index e4cf45e5c945..56be44d36364 100644 --- a/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_modify_and_updates_the_synonymmap_object.js +++ b/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_modify_and_updates_the_synonymmap_object.js @@ -7,7 +7,7 @@ module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) .get('/synonymmaps(%27my-azure-synonymmap-1%27)') .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195efff1e67a592daf178b6cd5dcfdddf2655bb4d71f8d0c6c6a7441807fdf8f76de1d3c3d7872fae9f1fd2707a74f9e3c7bf6fb7e44ad96d922a7af17d7dbd90fd675beed606defd2d7e755bdc88058539535fdad5f37f4c957cba2cd67e9eb3623644769f0675a9da7c78bbc2ea659fad951fad5ebe3df77f9ddac9917cb8bb65a8e52fc3ec637df3d26a0f9725a5fafdaa25afe5ef9f5478f96ebb2fc25ff0f717c51661c010000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195efff1e67a592daf178b6cd5dcfdddf2655bb4d71f8d0c6c6a7441807fdf8f76de1d3c7db8777fefe4d3870ff777761e7efafb7e44ad96d922a7af17d7dbd90fd675beed606defd2d7e755bdc88058539535fdad5f37f4c957cba2cd67e9eb3623644769f0675a9da7c78bbc2ea659fad951fad5ebe3df77f9ddac9917cb8bb65a8e52fc3ec637df3d26a0f9725a5fafdaa25afe5ef9f5478f96ebb2fc25ff0f1992193f1c010000"], [ 'Cache-Control', 'no-cache', 'Pragma', @@ -19,11 +19,11 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'ETag', - 'W/"0x8D8BE6A5B8EBBFF"', + 'W/"0x8D9252C69940096"', 'Vary', 'Accept-Encoding', 'request-id', - '38efcd22-f9db-4288-82d2-9bdaf74e2d10', + 'bb1ddb0e-2557-4ee9-8f20-d4498062791d', 'elapsed-time', '7', 'OData-Version', @@ -33,15 +33,15 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:12:13 GMT', + 'Tue, 01 Jun 2021 18:38:17 GMT', 'Content-Length', '334' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .put('/synonymmaps(%27my-azure-synonymmap-1%27)', {"name":"my-azure-synonymmap-1","format":"solr","synonyms":"United States, United States of America => USA\nWashington, Wash. => WA\nCalifornia, Clif. => CA","encryptionKey":null,"@odata.etag":"\"0x8D8BE6A5B8EBBFF\""}) + .put('/synonymmaps(%27my-azure-synonymmap-1%27)', {"name":"my-azure-synonymmap-1","format":"solr","synonyms":"United States, United States of America => USA\nWashington, Wash. => WA\nCalifornia, Clif. => CA","encryptionKey":null,"@odata.etag":"\"0x8D9252C69940096\""}) .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195efff1e67a592daf178b6cd5dcfdddf2655bb4d71f8d0c6c6a7441807fdf8f76de1d3c3d7872fae9f1fdd34f0ff61e3e38f97d3fa256cb6c91d3d78bebedec07eb3adf76b0b677e9ebf3aa5e6440aca9ca9afed6af1bfae4ab65d1e6b3f4759b11b2a334f833adced3e3455e17d32cfdec28fdeaf5f1efbbfc6ed6cc8be5455b2d47297e1fe39befd217275959503fcb221ba527f42b7f71724cbde5cb697dbd6a8b6af97be5d71f3d5aaecbf297fc3fc0c7776435010000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195efff1e67a592daf178b6cd5dcfdddf2655bb4d71f8d0c6c6a7441807fdf8f76de1d3c7db8777fefe4d393070f9fdddf39f87d3fa256cb6c91d3d78bebedec07eb3adf76b0b677e9ebf3aa5e6440aca9ca9afed6af1bfae4ab65d1e6b3f4759b11b2a334f833adced3e3455e17d32cfdec28fdeaf5f1efbbfc6ed6cc8be5455b2d47297e1fe39befd217275959503fcb221ba527f42b7f71724cbde5cb697dbd6a8b6af97be5d71f3d5aaecbf297fc3fd18c9cb235010000"], [ 'Cache-Control', 'no-cache', 'Pragma', @@ -53,13 +53,13 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'ETag', - 'W/"0x8D8BE6A5E68297C"', + 'W/"0x8D9252C6C79F508"', 'Vary', 'Accept-Encoding', 'request-id', - 'c83bd515-f805-4889-a17b-078a25f4a0fa', + '4c0d8f10-1b53-44a0-807d-739e6cd59315', 'elapsed-time', - '20', + '17', 'OData-Version', '4.0', 'Preference-Applied', @@ -67,7 +67,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:12:13 GMT', + 'Tue, 01 Jun 2021 18:38:17 GMT', 'Content-Length', '350' ]); @@ -75,7 +75,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) nock('https://endpoint:443', {"encodedQueryParams":true}) .get('/synonymmaps(%27my-azure-synonymmap-1%27)') .query(true) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195efff1e67a592daf178b6cd5dcfdddf2655bb4d71f8d0c6c6a7441807fdf8f76de1d3c3d7872fae9f1fdd34f0ff61e3e38f97d3fa256cb6c91d3d78bebedec07eb3adf76b0b677e9ebf3aa5e6440aca9ca9afed6af1bfae4ab65d1e6b3f4759b11b2a334f833adced3e3455e17d32cfdec28fdeaf5f1efbbfc6ed6cc8be5455b2d47297e1fe39befd217275959503fcb221ba527f42b7f71724cbde5cb697dbd6a8b6af97be5d71f3d5aaecbf297fc3fc0c7776435010000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147bf6735cbda6c3cad966dfeaefde8d147f3b65d358feede6df3a66df2ac9ecea759933763f97d7c552c67d555335ee6eddddf6d91b7195efff1e67a592daf178b6cd5dcfdddf2655bb4d71f8d0c6c6a7441807fdf8f76de1d3c7db8777fefe4d393070f9fdddf39f87d3fa256cb6c91d3d78bebedec07eb3adf76b0b677e9ebf3aa5e6440aca9ca9afed6af1bfae4ab65d1e6b3f4759b11b2a334f833adced3e3455e17d32cfdec28fdeaf5f1efbbfc6ed6cc8be5455b2d47297e1fe39befd217275959503fcb221ba527f42b7f71724cbde5cb697dbd6a8b6af97be5d71f3d5aaecbf297fc3fd18c9cb235010000"], [ 'Cache-Control', 'no-cache', 'Pragma', @@ -87,13 +87,13 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'ETag', - 'W/"0x8D8BE6A5E68297C"', + 'W/"0x8D9252C6C79F508"', 'Vary', 'Accept-Encoding', 'request-id', - 'eff2f68c-ae21-4a90-b8a6-db99ece4d61c', + '59d9c4cc-b553-4bae-b548-374ac2f45e62', 'elapsed-time', - '5', + '6', 'OData-Version', '4.0', 'Preference-Applied', @@ -101,7 +101,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:12:13 GMT', + 'Tue, 01 Jun 2021 18:38:17 GMT', 'Content-Length', '350' ]); diff --git a/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_throws_error_for_invalid_synonymmap_object.js b/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_throws_error_for_invalid_synonymmap_object.js index c0bf42809433..9342af3c8b93 100644 --- a/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_throws_error_for_invalid_synonymmap_object.js +++ b/sdk/search/search-documents/recordings/node/searchindexclient_synonymmaps/recording_throws_error_for_invalid_synonymmap_object.js @@ -19,9 +19,9 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Expires', '-1', 'request-id', - 'cd7533c9-1440-450e-827c-4a5adf21c343', + '19e7d129-c68e-4f49-8c39-60330ba36f10', 'elapsed-time', - '12', + '6', 'OData-Version', '4.0', 'Preference-Applied', @@ -29,7 +29,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'Date', - 'Fri, 22 Jan 2021 00:11:55 GMT', + 'Tue, 01 Jun 2021 18:37:59 GMT', 'Content-Length', '112' ]); diff --git a/sdk/search/search-documents/review/search-documents.api.md b/sdk/search/search-documents/review/search-documents.api.md index 098ca8905f01..3979a29374d6 100644 --- a/sdk/search/search-documents/review/search-documents.api.md +++ b/sdk/search/search-documents/review/search-documents.api.md @@ -36,18 +36,6 @@ export interface AnalyzeResult { // @public export type AnalyzeTextOptions = OperationOptions & AnalyzeRequest; -// @public -export interface AnswerResult { - [property: string]: any; - readonly highlights?: string | null; - readonly key: string; - readonly score: number; - readonly text: string; -} - -// @public -export type Answers = string; - // @public export type AsciiFoldingTokenFilter = BaseTokenFilter & { odatatype: "#Microsoft.Azure.Search.AsciiFoldingTokenFilter"; @@ -120,12 +108,6 @@ export interface BaseLexicalAnalyzer { odatatype: "#Microsoft.Azure.Search.CustomAnalyzer" | "#Microsoft.Azure.Search.PatternAnalyzer" | "#Microsoft.Azure.Search.StandardAnalyzer" | "#Microsoft.Azure.Search.StopAnalyzer"; } -// @public -export interface BaseLexicalNormalizer { - name: string; - odatatype: "#Microsoft.Azure.Search.CustomNormalizer"; -} - // @public export interface BaseLexicalTokenizer { name: string; @@ -175,13 +157,6 @@ export type BM25Similarity = Similarity & { b?: number | null; }; -// @public -export interface CaptionResult { - [property: string]: any; - readonly highlights?: string | null; - readonly text?: string; -} - // @public export type CharFilter = MappingCharFilter | PatternReplaceCharFilter; @@ -338,13 +313,6 @@ export type CustomEntityLookupSkill = BaseSearchIndexerSkill & { // @public export type CustomEntityLookupSkillLanguage = string; -// @public -export type CustomNormalizer = BaseLexicalNormalizer & { - odatatype: "#Microsoft.Azure.Search.CustomNormalizer"; - tokenFilters?: TokenFilterName[]; - charFilters?: CharFilterName[]; -}; - // @public export type DataChangeDetectionPolicy = HighWaterMarkChangeDetectionPolicy | SqlIntegratedChangeTrackingPolicy; @@ -801,12 +769,6 @@ export enum KnownAnalyzerNames { ZhHantMicrosoft = "zh-Hant.microsoft" } -// @public -export const enum KnownAnswers { - Extractive = "extractive", - None = "none" -} - // @public export const enum KnownBlobIndexerDataToExtract { AllMetadata = "allMetadata", @@ -1030,15 +992,6 @@ export const enum KnownLexicalAnalyzerName { ZhHantMicrosoft = "zh-Hant.microsoft" } -// @public -export const enum KnownLexicalNormalizerName { - AsciiFolding = "asciifolding", - Elision = "elision", - Lowercase = "lowercase", - Standard = "standard", - Uppercase = "uppercase" -} - // @public export const enum KnownOcrSkillLanguage { Ar = "ar", @@ -1069,12 +1022,6 @@ export const enum KnownOcrSkillLanguage { ZhHant = "zh-Hant" } -// @public -export const enum KnownQueryLanguage { - EnUs = "en-us", - None = "none" -} - // @public export const enum KnownRegexFlags { CanonEq = "CANON_EQ", @@ -1116,12 +1063,6 @@ export const enum KnownSentimentSkillLanguage { Tr = "tr" } -// @public -export const enum KnownSpeller { - Lexicon = "lexicon", - None = "none" -} - // @public export const enum KnownSplitSkillLanguage { Da = "da", @@ -1332,12 +1273,6 @@ export type LexicalAnalyzer = CustomAnalyzer | PatternAnalyzer | LuceneStandardA // @public export type LexicalAnalyzerName = string; -// @public -export type LexicalNormalizer = CustomNormalizer; - -// @public -export type LexicalNormalizerName = string; - // @public export type LexicalTokenizer = ClassicTokenizer | EdgeNGramTokenizer | KeywordTokenizer | MicrosoftLanguageTokenizer | MicrosoftLanguageStemmingTokenizer | NGramTokenizer | PathHierarchyTokenizer | PatternTokenizer | LuceneStandardTokenizer | UaxUrlEmailTokenizer; @@ -1532,10 +1467,7 @@ export type PhoneticTokenFilter = BaseTokenFilter & { }; // @public -export type QueryLanguage = string; - -// @public -export type QueryType = "simple" | "full" | "semantic"; +export type QueryType = "simple" | "full"; // @public export type RegexFlags = string; @@ -1609,7 +1541,6 @@ export interface SearchDocumentsResult extends SearchDocumentsResultBase { // @public export interface SearchDocumentsResultBase { - readonly answers?: AnswerResult[] | null; readonly count?: number; readonly coverage?: number; readonly facets?: { @@ -1633,7 +1564,6 @@ export interface SearchIndex { etag?: string; fields: SearchField[]; name: string; - normalizers?: LexicalNormalizer[]; scoringProfiles?: ScoringProfile[]; similarity?: SimilarityAlgorithm; suggesters?: SearchSuggester[]; @@ -1893,7 +1823,6 @@ export type SearchOptions = OperationOptions & SearchRequestOptions { - answers?: Answers; facets?: string[]; filter?: string; highlightFields?: string; @@ -1928,7 +1854,6 @@ export interface SearchRequestOptions { includeTotalCount?: boolean; minimumCoverage?: number; orderBy?: string[]; - queryLanguage?: QueryLanguage; queryType?: QueryType; scoringParameters?: string[]; scoringProfile?: string; @@ -1938,7 +1863,6 @@ export interface SearchRequestOptions { select?: Fields[]; sessionId?: string; skip?: number; - speller?: Speller; top?: number; } @@ -1954,11 +1878,9 @@ export interface SearchResourceEncryptionKey { // @public export type SearchResult = { readonly score: number; - readonly rerankerScore?: number; readonly highlights?: { [k in keyof T]?: string[]; }; - readonly captions?: CaptionResult[] | null; document: T; }; @@ -2036,7 +1958,6 @@ export interface SimpleField { indexAnalyzerName?: LexicalAnalyzerName; key?: boolean; name: string; - normalizerName?: LexicalNormalizerName; searchable?: boolean; searchAnalyzerName?: LexicalAnalyzerName; sortable?: boolean; @@ -2060,9 +1981,6 @@ export type SoftDeleteColumnDeletionDetectionPolicy = BaseDataDeletionDetectionP softDeleteMarkerValue?: string; }; -// @public -export type Speller = string; - // @public export type SplitSkill = BaseSearchIndexerSkill & { odatatype: "#Microsoft.Skills.Text.SplitSkill"; diff --git a/sdk/search/search-documents/src/constants.ts b/sdk/search/search-documents/src/constants.ts index b9fe8d6e8ba9..f6aab2fc356d 100644 --- a/sdk/search/search-documents/src/constants.ts +++ b/sdk/search/search-documents/src/constants.ts @@ -1,4 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "11.2.0-beta.3"; +export const SDK_VERSION: string = "11.2.0"; diff --git a/sdk/search/search-documents/src/generated/data/models/index.ts b/sdk/search/search-documents/src/generated/data/models/index.ts index 8b25e0b7e75e..6f98ea640204 100644 --- a/sdk/search/search-documents/src/generated/data/models/index.ts +++ b/sdk/search/search-documents/src/generated/data/models/index.ts @@ -44,11 +44,6 @@ export interface SearchDocumentsResult { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly facets?: { [propertyName: string]: FacetResult[] }; - /** - * The answers query results for the search operation; null if the answers query parameter was not specified or set to 'none'. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly answers?: AnswerResult[] | null; /** * Continuation JSON payload returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -77,32 +72,6 @@ export interface FacetResult { readonly count?: number; } -/** An answer is a text passage extracted from the contents of the most relevant documents that matched the query. Answers are extracted from the top search results. Answer candidates are scored and the top answers are selected. */ -export interface AnswerResult { - /** Describes unknown properties. The value of an unknown property can be of "any" type. */ - [property: string]: any; - /** - * The score value represents how relevant the answer is to the the query relative to other answers returned for the query. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly score: number; - /** - * The key of the document the answer was extracted from. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly key: string; - /** - * The text passage extracted from the document contents as the answer. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly text: string; - /** - * Same text passage as in the Text property with highlighted text phrases most relevant to the query. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly highlights?: string | null; -} - /** Parameters for filtering, sorting, faceting, paging, and other search query behaviors. */ export interface SearchRequest { /** A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation. */ @@ -137,12 +106,6 @@ export interface SearchRequest { searchFields?: string; /** A value that specifies whether any or all of the search terms must be matched in order to count the document as a match. */ searchMode?: SearchMode; - /** A value that specifies the language of the search query. */ - queryLanguage?: QueryLanguage; - /** A value that specified the type of the speller to use to spell-correct individual search query terms. */ - speller?: Speller; - /** A value that specifies whether answers should be returned as part of the search response. */ - answers?: Answers; /** The comma-separated list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included. */ select?: string; /** The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use skip due to this limitation, consider using orderby on a totally-ordered key and filter with a range query instead. */ @@ -160,37 +123,11 @@ export interface SearchResult { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly _score: number; - /** - * The relevance score computed by the semantic ranker for the top search results. Search results are sorted by the RerankerScore first and then by the Score. RerankerScore is only returned for queries of type 'semantic'. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly rerankerScore?: number | null; /** * Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly _highlights?: { [propertyName: string]: string[] }; - /** - * Captions are the most representative passages from the document relatively to the search query. They are often used as document summary. Captions are only returned for queries of type 'semantic'. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly captions?: CaptionResult[] | null; -} - -/** Captions are the most representative passages from the document relatively to the search query. They are often used as document summary. Captions are only returned for queries of type 'semantic'.. */ -export interface CaptionResult { - /** Describes unknown properties. The value of an unknown property can be of "any" type. */ - [property: string]: any; - /** - * A representative text passage extracted from the document most relevant to the search query. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly text?: string; - /** - * Same text passage as in the Text property with highlighted phrases most relevant to the query. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly highlights?: string | null; } /** Response containing suggestion query results from an index. */ @@ -375,12 +312,6 @@ export interface SearchOptions { scoringProfile?: string; /** The list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter. */ searchFields?: string[]; - /** The language of the query. */ - queryLanguage?: QueryLanguage; - /** Improve search recall by spell-correcting individual search query terms. */ - speller?: Speller; - /** This parameter is only valid if the query type is 'semantic'. If set, the query returns answers extracted from key passages in the highest ranked documents. The number of answers returned can be configured by appending the pipe character '|' followed by the 'count-' option after the answers parameter value, such as 'extractive|count-3'. Default count is 1. */ - answers?: Answers; /** A value that specifies whether any or all of the search terms must be matched in order to count the document as a match. */ searchMode?: SearchMode; /** A value that specifies whether we want to calculate scoring statistics (such as document frequency) globally for more consistent scoring, or locally, for lower latency. */ @@ -437,76 +368,22 @@ export interface AutocompleteOptions { top?: number; } -/** Known values of {@link ApiVersion20200630Preview} that the service accepts. */ -export const enum KnownApiVersion20200630Preview { - /** Api Version '2020-06-30-Preview' */ - TwoThousandTwenty0630Preview = "2020-06-30-Preview" -} - -/** - * Defines values for ApiVersion20200630Preview. \ - * {@link KnownApiVersion20200630Preview} can be used interchangeably with ApiVersion20200630Preview, - * this enum contains the known values that the service supports. - * ### Know values supported by the service - * **2020-06-30-Preview**: Api Version '2020-06-30-Preview' - */ -export type ApiVersion20200630Preview = string; - -/** Known values of {@link QueryLanguage} that the service accepts. */ -export const enum KnownQueryLanguage { - /** Query language not specified. */ - None = "none", - /** English */ - EnUs = "en-us" -} - -/** - * Defines values for QueryLanguage. \ - * {@link KnownQueryLanguage} can be used interchangeably with QueryLanguage, - * this enum contains the known values that the service supports. - * ### Know values supported by the service - * **none**: Query language not specified. \ - * **en-us**: English - */ -export type QueryLanguage = string; - -/** Known values of {@link Speller} that the service accepts. */ -export const enum KnownSpeller { - /** Speller not enabled. */ - None = "none", - /** Speller corrects individual query terms using a static lexicon for the language specified by the queryLanguage parameter. */ - Lexicon = "lexicon" -} - -/** - * Defines values for Speller. \ - * {@link KnownSpeller} can be used interchangeably with Speller, - * this enum contains the known values that the service supports. - * ### Know values supported by the service - * **none**: Speller not enabled. \ - * **lexicon**: Speller corrects individual query terms using a static lexicon for the language specified by the queryLanguage parameter. - */ -export type Speller = string; - -/** Known values of {@link Answers} that the service accepts. */ -export const enum KnownAnswers { - /** Do not return answers for the query. */ - None = "none", - /** Extracts answer candidates from the contents of the documents returned in response to a query expressed as a question in natural language. */ - Extractive = "extractive" +/** Known values of {@link ApiVersion20200630} that the service accepts. */ +export const enum KnownApiVersion20200630 { + /** Api Version '2020-06-30' */ + TwoThousandTwenty0630 = "2020-06-30" } /** - * Defines values for Answers. \ - * {@link KnownAnswers} can be used interchangeably with Answers, + * Defines values for ApiVersion20200630. \ + * {@link KnownApiVersion20200630} can be used interchangeably with ApiVersion20200630, * this enum contains the known values that the service supports. * ### Know values supported by the service - * **none**: Do not return answers for the query. \ - * **extractive**: Extracts answer candidates from the contents of the documents returned in response to a query expressed as a question in natural language. + * **2020-06-30**: Api Version '2020-06-30' */ -export type Answers = string; +export type ApiVersion20200630 = string; /** Defines values for QueryType. */ -export type QueryType = "simple" | "full" | "semantic"; +export type QueryType = "simple" | "full"; /** Defines values for SearchMode. */ export type SearchMode = "any" | "all"; /** Defines values for ScoringStatistics. */ diff --git a/sdk/search/search-documents/src/generated/data/models/mappers.ts b/sdk/search/search-documents/src/generated/data/models/mappers.ts index 956db45f1528..1c09a0595d80 100644 --- a/sdk/search/search-documents/src/generated/data/models/mappers.ts +++ b/sdk/search/search-documents/src/generated/data/models/mappers.ts @@ -77,20 +77,6 @@ export const SearchDocumentsResult: coreHttp.CompositeMapper = { } } }, - answers: { - serializedName: "@search\\.answers", - readOnly: true, - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AnswerResult" - } - } - } - }, nextPageParameters: { serializedName: "@search\\.nextPageParameters", type: { @@ -140,48 +126,6 @@ export const FacetResult: coreHttp.CompositeMapper = { } }; -export const AnswerResult: coreHttp.CompositeMapper = { - type: { - name: "Composite", - className: "AnswerResult", - additionalProperties: { type: { name: "Object" } }, - modelProperties: { - score: { - serializedName: "score", - required: true, - readOnly: true, - type: { - name: "Number" - } - }, - key: { - serializedName: "key", - required: true, - readOnly: true, - type: { - name: "String" - } - }, - text: { - serializedName: "text", - required: true, - readOnly: true, - type: { - name: "String" - } - }, - highlights: { - serializedName: "highlights", - readOnly: true, - nullable: true, - type: { - name: "String" - } - } - } - } -}; - export const SearchRequest: coreHttp.CompositeMapper = { type: { name: "Composite", @@ -244,7 +188,7 @@ export const SearchRequest: coreHttp.CompositeMapper = { serializedName: "queryType", type: { name: "Enum", - allowedValues: ["simple", "full", "semantic"] + allowedValues: ["simple", "full"] } }, scoringStatistics: { @@ -296,24 +240,6 @@ export const SearchRequest: coreHttp.CompositeMapper = { allowedValues: ["any", "all"] } }, - queryLanguage: { - serializedName: "queryLanguage", - type: { - name: "String" - } - }, - speller: { - serializedName: "speller", - type: { - name: "String" - } - }, - answers: { - serializedName: "answers", - type: { - name: "String" - } - }, select: { serializedName: "select", type: { @@ -350,14 +276,6 @@ export const SearchResult: coreHttp.CompositeMapper = { name: "Number" } }, - rerankerScore: { - serializedName: "@search\\.rerankerScore", - readOnly: true, - nullable: true, - type: { - name: "Number" - } - }, _highlights: { serializedName: "@search\\.highlights", readOnly: true, @@ -367,45 +285,6 @@ export const SearchResult: coreHttp.CompositeMapper = { type: { name: "Sequence", element: { type: { name: "String" } } } } } - }, - captions: { - serializedName: "@search\\.captions", - readOnly: true, - nullable: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CaptionResult" - } - } - } - } - } - } -}; - -export const CaptionResult: coreHttp.CompositeMapper = { - type: { - name: "Composite", - className: "CaptionResult", - additionalProperties: { type: { name: "Object" } }, - modelProperties: { - text: { - serializedName: "text", - readOnly: true, - type: { - name: "String" - } - }, - highlights: { - serializedName: "highlights", - readOnly: true, - nullable: true, - type: { - name: "String" - } } } } diff --git a/sdk/search/search-documents/src/generated/data/models/parameters.ts b/sdk/search/search-documents/src/generated/data/models/parameters.ts index c9f82c40a7d6..56e10b8f66de 100644 --- a/sdk/search/search-documents/src/generated/data/models/parameters.ts +++ b/sdk/search/search-documents/src/generated/data/models/parameters.ts @@ -189,7 +189,7 @@ export const queryType: OperationQueryParameter = { serializedName: "queryType", type: { name: "Enum", - allowedValues: ["simple", "full", "semantic"] + allowedValues: ["simple", "full"] } } }; @@ -236,36 +236,6 @@ export const searchFields: OperationQueryParameter = { collectionFormat: QueryCollectionFormat.Csv }; -export const queryLanguage: OperationQueryParameter = { - parameterPath: ["options", "searchOptions", "queryLanguage"], - mapper: { - serializedName: "queryLanguage", - type: { - name: "String" - } - } -}; - -export const speller: OperationQueryParameter = { - parameterPath: ["options", "searchOptions", "speller"], - mapper: { - serializedName: "speller", - type: { - name: "String" - } - } -}; - -export const answers: OperationQueryParameter = { - parameterPath: ["options", "searchOptions", "answers"], - mapper: { - serializedName: "answers", - type: { - name: "String" - } - } -}; - export const searchMode: OperationQueryParameter = { parameterPath: ["options", "searchOptions", "searchMode"], mapper: { diff --git a/sdk/search/search-documents/src/generated/data/operations/documents.ts b/sdk/search/search-documents/src/generated/data/operations/documents.ts index c34030c449e4..c99a44b4e372 100644 --- a/sdk/search/search-documents/src/generated/data/operations/documents.ts +++ b/sdk/search/search-documents/src/generated/data/operations/documents.ts @@ -266,9 +266,6 @@ const searchGetOperationSpec: coreHttp.OperationSpec = { Parameters.scoringParameters, Parameters.scoringProfile, Parameters.searchFields, - Parameters.queryLanguage, - Parameters.speller, - Parameters.answers, Parameters.searchMode, Parameters.scoringStatistics, Parameters.sessionId, diff --git a/sdk/search/search-documents/src/generated/data/searchClient.ts b/sdk/search/search-documents/src/generated/data/searchClient.ts index 38a23a27d609..1eab727ffc07 100644 --- a/sdk/search/search-documents/src/generated/data/searchClient.ts +++ b/sdk/search/search-documents/src/generated/data/searchClient.ts @@ -8,10 +8,7 @@ import { Documents } from "./operations"; import { SearchClientContext } from "./searchClientContext"; -import { - SearchClientOptionalParams, - ApiVersion20200630Preview -} from "./models"; +import { SearchClientOptionalParams, ApiVersion20200630 } from "./models"; /** @internal */ export class SearchClient extends SearchClientContext { @@ -25,7 +22,7 @@ export class SearchClient extends SearchClientContext { constructor( endpoint: string, indexName: string, - apiVersion: ApiVersion20200630Preview, + apiVersion: ApiVersion20200630, options?: SearchClientOptionalParams ) { super(endpoint, indexName, apiVersion, options); diff --git a/sdk/search/search-documents/src/generated/data/searchClientContext.ts b/sdk/search/search-documents/src/generated/data/searchClientContext.ts index e6a8723821c3..a16ac30fc35c 100644 --- a/sdk/search/search-documents/src/generated/data/searchClientContext.ts +++ b/sdk/search/search-documents/src/generated/data/searchClientContext.ts @@ -7,19 +7,16 @@ */ import * as coreHttp from "@azure/core-http"; -import { - ApiVersion20200630Preview, - SearchClientOptionalParams -} from "./models"; +import { ApiVersion20200630, SearchClientOptionalParams } from "./models"; const packageName = "@azure/search-documents"; -const packageVersion = "11.2.0-beta.3"; +const packageVersion = "11.2.0"; /** @internal */ export class SearchClientContext extends coreHttp.ServiceClient { endpoint: string; indexName: string; - apiVersion: ApiVersion20200630Preview; + apiVersion: ApiVersion20200630; /** * Initializes a new instance of the SearchClientContext class. @@ -31,7 +28,7 @@ export class SearchClientContext extends coreHttp.ServiceClient { constructor( endpoint: string, indexName: string, - apiVersion: ApiVersion20200630Preview, + apiVersion: ApiVersion20200630, options?: SearchClientOptionalParams ) { if (endpoint === undefined) { diff --git a/sdk/search/search-documents/src/generated/service/models/index.ts b/sdk/search/search-documents/src/generated/service/models/index.ts index cf0b9998aa54..9861262762e5 100644 --- a/sdk/search/search-documents/src/generated/service/models/index.ts +++ b/sdk/search/search-documents/src/generated/service/models/index.ts @@ -92,7 +92,6 @@ export type CharFilterUnion = | CharFilter | MappingCharFilter | PatternReplaceCharFilter; -export type LexicalNormalizerUnion = LexicalNormalizer | CustomNormalizer; export type SimilarityUnion = Similarity | ClassicSimilarity | BM25Similarity; /** Represents a datasource definition, which can be used to configure an indexer. */ @@ -629,8 +628,6 @@ export interface SearchIndex { tokenFilters?: TokenFilterUnion[]; /** The character filters for the index. */ charFilters?: CharFilterUnion[]; - /** The normalizers for the index. */ - normalizers?: LexicalNormalizerUnion[]; /** A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your data when you want full assurance that no one, not even Microsoft, can decrypt your data in Azure Cognitive Search. Once you have encrypted your data, it will always remain encrypted. Azure Cognitive Search will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your data will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019. */ encryptionKey?: SearchResourceEncryptionKey | null; /** The type of similarity algorithm to be used when scoring and ranking the documents matching a search query. The similarity algorithm can only be defined at index creation time and cannot be modified on existing indexes. If null, the ClassicSimilarity algorithm is used. */ @@ -663,8 +660,6 @@ export interface SearchField { searchAnalyzer?: LexicalAnalyzerName | null; /** The name of the analyzer used at indexing time for the field. This option can be used only with searchable fields. It must be set together with searchAnalyzer and it cannot be set together with the analyzer option. This property cannot be set to the name of a language analyzer; use the analyzer property instead if you need a language analyzer. Once the analyzer is chosen, it cannot be changed for the field. Must be null for complex fields. */ indexAnalyzer?: LexicalAnalyzerName | null; - /** The name of the normalizer to use for the field. This option can be used only with fields with filterable, sortable, or facetable enabled. Once the normalizer is chosen, it cannot be changed for the field. Must be null for complex fields. */ - normalizer?: LexicalNormalizerName | null; /** A list of the names of synonym maps to associate with this field. This option can be used only with searchable fields. Currently only one synonym map per field is supported. Assigning a synonym map to a field ensures that query terms targeting that field are expanded at query-time using the rules in the synonym map. This attribute can be changed on existing fields. Must be null or an empty collection for complex fields. */ synonymMaps?: string[]; /** A list of sub-fields if this is a field of type Edm.ComplexType or Collection(Edm.ComplexType). Must be null or empty for simple fields. */ @@ -794,14 +789,6 @@ export interface CharFilter { name: string; } -/** Base type for normalizers. */ -export interface LexicalNormalizer { - /** Polymorphic discriminator, which specifies the different types this object can be */ - odatatype: "#Microsoft.Azure.Search.CustomNormalizer"; - /** The name of the normalizer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters. It cannot end in '.microsoft' nor '.lucene', nor be named 'asciifolding', 'standard', 'lowercase', 'uppercase', or 'elision'. */ - name: string; -} - /** Base type for similarity algorithms. Similarity algorithms are used to calculate scores that tie queries to documents. The higher the score, the more relevant the document is to that specific query. Those scores are used to rank the search results. */ export interface Similarity { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -1699,16 +1686,6 @@ export type PatternReplaceCharFilter = CharFilter & { replacement: string; }; -/** Allows you to configure normalization for filterable, sortable, and facetable fields, which by default operate with strict matching. This is a user-defined configuration consisting of at least one or more filters, which modify the token that is stored. */ -export type CustomNormalizer = LexicalNormalizer & { - /** Polymorphic discriminator, which specifies the different types this object can be */ - odatatype: "#Microsoft.Azure.Search.CustomNormalizer"; - /** A list of token filters used to filter out or modify the input token. For example, you can specify a lowercase filter that converts all characters to lowercase. The filters are run in the order in which they are listed. */ - tokenFilters?: TokenFilterName[]; - /** A list of character filters used to prepare input text before it is processed. For instance, they can replace certain characters or symbols. The filters are run in the order in which they are listed. */ - charFilters?: CharFilterName[]; -}; - /** Legacy similarity algorithm which uses the Lucene TFIDFSimilarity implementation of TF-IDF. This variation of TF-IDF introduces static document length normalization as well as coordinating factors that penalize documents that only partially match the searched queries. */ export type ClassicSimilarity = Similarity & { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -1737,20 +1714,20 @@ export interface RequestOptions { xMsClientRequestId?: string; } -/** Known values of {@link ApiVersion20200630Preview} that the service accepts. */ -export const enum KnownApiVersion20200630Preview { - /** Api Version '2020-06-30-Preview' */ - TwoThousandTwenty0630Preview = "2020-06-30-Preview" +/** Known values of {@link ApiVersion20200630} that the service accepts. */ +export const enum KnownApiVersion20200630 { + /** Api Version '2020-06-30' */ + TwoThousandTwenty0630 = "2020-06-30" } /** - * Defines values for ApiVersion20200630Preview. \ - * {@link KnownApiVersion20200630Preview} can be used interchangeably with ApiVersion20200630Preview, + * Defines values for ApiVersion20200630. \ + * {@link KnownApiVersion20200630} can be used interchangeably with ApiVersion20200630, * this enum contains the known values that the service supports. * ### Know values supported by the service - * **2020-06-30-Preview**: Api Version '2020-06-30-Preview' + * **2020-06-30**: Api Version '2020-06-30' */ -export type ApiVersion20200630Preview = string; +export type ApiVersion20200630 = string; /** Known values of {@link SearchIndexerDataSourceType} that the service accepts. */ export const enum KnownSearchIndexerDataSourceType { @@ -2233,33 +2210,6 @@ export const enum KnownLexicalAnalyzerName { */ export type LexicalAnalyzerName = string; -/** Known values of {@link LexicalNormalizerName} that the service accepts. */ -export const enum KnownLexicalNormalizerName { - /** Converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if such equivalents exist. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilter.html */ - AsciiFolding = "asciifolding", - /** Removes elisions. For example, "l'avion" (the plane) will be converted to "avion" (plane). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/util/ElisionFilter.html */ - Elision = "elision", - /** Normalizes token text to lowercase. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/LowerCaseFilter.html */ - Lowercase = "lowercase", - /** Standard normalizer, which consists of lowercase and asciifolding. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/reverse/ReverseStringFilter.html */ - Standard = "standard", - /** Normalizes token text to uppercase. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/UpperCaseFilter.html */ - Uppercase = "uppercase" -} - -/** - * Defines values for LexicalNormalizerName. \ - * {@link KnownLexicalNormalizerName} can be used interchangeably with LexicalNormalizerName, - * this enum contains the known values that the service supports. - * ### Know values supported by the service - * **asciifolding**: Converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if such equivalents exist. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilter.html \ - * **elision**: Removes elisions. For example, "l'avion" (the plane) will be converted to "avion" (plane). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/util/ElisionFilter.html \ - * **lowercase**: Normalizes token text to lowercase. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/LowerCaseFilter.html \ - * **standard**: Standard normalizer, which consists of lowercase and asciifolding. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/reverse/ReverseStringFilter.html \ - * **uppercase**: Normalizes token text to uppercase. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/UpperCaseFilter.html - */ -export type LexicalNormalizerName = string; - /** Known values of {@link KeyPhraseExtractionSkillLanguage} that the service accepts. */ export const enum KnownKeyPhraseExtractionSkillLanguage { /** Danish */ @@ -3041,7 +2991,7 @@ export const enum KnownTokenFilterName { Length = "length", /** Limits the number of tokens while indexing. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LimitTokenCountFilter.html */ Limit = "limit", - /** Normalizes token text to lower case. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/LowerCaseFilter.html */ + /** Normalizes token text to lower case. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/LowerCaseFilter.htm */ Lowercase = "lowercase", /** Generates n-grams of the given size(s). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenFilter.html */ NGram = "nGram_v2", @@ -3073,7 +3023,7 @@ export const enum KnownTokenFilterName { Truncate = "truncate", /** Filters out tokens with same text as the previous token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/RemoveDuplicatesTokenFilter.html */ Unique = "unique", - /** Normalizes token text to upper case. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/UpperCaseFilter.html */ + /** Normalizes token text to upper case. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/UpperCaseFilter.html */ Uppercase = "uppercase", /** Splits words into subwords and performs optional transformations on subword groups. */ WordDelimiter = "word_delimiter" @@ -3100,7 +3050,7 @@ export const enum KnownTokenFilterName { * **kstem**: A high-performance kstem filter for English. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/en/KStemFilter.html \ * **length**: Removes words that are too long or too short. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LengthFilter.html \ * **limit**: Limits the number of tokens while indexing. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LimitTokenCountFilter.html \ - * **lowercase**: Normalizes token text to lower case. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/LowerCaseFilter.html \ + * **lowercase**: Normalizes token text to lower case. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/LowerCaseFilter.htm \ * **nGram_v2**: Generates n-grams of the given size(s). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenFilter.html \ * **persian_normalization**: Applies normalization for Persian. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/fa/PersianNormalizationFilter.html \ * **phonetic**: Create tokens for phonetic matches. See https://lucene.apache.org/core/4_10_3/analyzers-phonetic/org/apache/lucene/analysis/phonetic/package-tree.html \ @@ -3116,7 +3066,7 @@ export const enum KnownTokenFilterName { * **trim**: Trims leading and trailing whitespace from tokens. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/TrimFilter.html \ * **truncate**: Truncates the terms to a specific length. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/TruncateTokenFilter.html \ * **unique**: Filters out tokens with same text as the previous token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/RemoveDuplicatesTokenFilter.html \ - * **uppercase**: Normalizes token text to upper case. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/UpperCaseFilter.html \ + * **uppercase**: Normalizes token text to upper case. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/UpperCaseFilter.html \ * **word_delimiter**: Splits words into subwords and performs optional transformations on subword groups. */ export type TokenFilterName = string; diff --git a/sdk/search/search-documents/src/generated/service/models/mappers.ts b/sdk/search/search-documents/src/generated/service/models/mappers.ts index 7e672b65f4cc..ff5738e89a39 100644 --- a/sdk/search/search-documents/src/generated/service/models/mappers.ts +++ b/sdk/search/search-documents/src/generated/service/models/mappers.ts @@ -1430,18 +1430,6 @@ export const SearchIndex: coreHttp.CompositeMapper = { } } }, - normalizers: { - serializedName: "normalizers", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LexicalNormalizer" - } - } - } - }, encryptionKey: { serializedName: "encryptionKey", type: { @@ -1542,13 +1530,6 @@ export const SearchField: coreHttp.CompositeMapper = { name: "String" } }, - normalizer: { - serializedName: "normalizer", - nullable: true, - type: { - name: "String" - } - }, synonymMaps: { serializedName: "synonymMaps", type: { @@ -1859,34 +1840,6 @@ export const CharFilter: coreHttp.CompositeMapper = { } }; -export const LexicalNormalizer: coreHttp.CompositeMapper = { - type: { - name: "Composite", - className: "LexicalNormalizer", - uberParent: "LexicalNormalizer", - polymorphicDiscriminator: { - serializedName: "@odata\\.type", - clientName: "@odata\\.type" - }, - modelProperties: { - odatatype: { - serializedName: "@odata\\.type", - required: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - required: true, - type: { - name: "String" - } - } - } - } -}; - export const Similarity: coreHttp.CompositeMapper = { type: { name: "Composite", @@ -4738,41 +4691,6 @@ export const PatternReplaceCharFilter: coreHttp.CompositeMapper = { } }; -export const CustomNormalizer: coreHttp.CompositeMapper = { - serializedName: "#Microsoft.Azure.Search.CustomNormalizer", - type: { - name: "Composite", - className: "CustomNormalizer", - uberParent: "LexicalNormalizer", - polymorphicDiscriminator: LexicalNormalizer.type.polymorphicDiscriminator, - modelProperties: { - ...LexicalNormalizer.type.modelProperties, - tokenFilters: { - serializedName: "tokenFilters", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - charFilters: { - serializedName: "charFilters", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - export const ClassicSimilarity: coreHttp.CompositeMapper = { serializedName: "#Microsoft.Azure.Search.ClassicSimilarity", type: { @@ -4843,7 +4761,6 @@ export let discriminators = { LexicalTokenizer: LexicalTokenizer, TokenFilter: TokenFilter, CharFilter: CharFilter, - LexicalNormalizer: LexicalNormalizer, Similarity: Similarity, "DataChangeDetectionPolicy.#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy": HighWaterMarkChangeDetectionPolicy, "DataChangeDetectionPolicy.#Microsoft.Azure.Search.SqlIntegratedChangeTrackingPolicy": SqlIntegratedChangeTrackingPolicy, @@ -4911,7 +4828,6 @@ export let discriminators = { "TokenFilter.#Microsoft.Azure.Search.WordDelimiterTokenFilter": WordDelimiterTokenFilter, "CharFilter.#Microsoft.Azure.Search.MappingCharFilter": MappingCharFilter, "CharFilter.#Microsoft.Azure.Search.PatternReplaceCharFilter": PatternReplaceCharFilter, - "LexicalNormalizer.#Microsoft.Azure.Search.CustomNormalizer": CustomNormalizer, "Similarity.#Microsoft.Azure.Search.ClassicSimilarity": ClassicSimilarity, "Similarity.#Microsoft.Azure.Search.BM25Similarity": BM25Similarity }; diff --git a/sdk/search/search-documents/src/generated/service/searchServiceClient.ts b/sdk/search/search-documents/src/generated/service/searchServiceClient.ts index a035214ed8e2..32bf288d0415 100644 --- a/sdk/search/search-documents/src/generated/service/searchServiceClient.ts +++ b/sdk/search/search-documents/src/generated/service/searchServiceClient.ts @@ -19,7 +19,7 @@ import * as Mappers from "./models/mappers"; import { SearchServiceClientContext } from "./searchServiceClientContext"; import { SearchServiceClientOptionalParams, - ApiVersion20200630Preview, + ApiVersion20200630, SearchServiceClientGetServiceStatisticsOptionalParams, SearchServiceClientGetServiceStatisticsResponse } from "./models"; @@ -34,7 +34,7 @@ export class SearchServiceClient extends SearchServiceClientContext { */ constructor( endpoint: string, - apiVersion: ApiVersion20200630Preview, + apiVersion: ApiVersion20200630, options?: SearchServiceClientOptionalParams ) { super(endpoint, apiVersion, options); diff --git a/sdk/search/search-documents/src/generated/service/searchServiceClientContext.ts b/sdk/search/search-documents/src/generated/service/searchServiceClientContext.ts index 02502a3e9abb..f99b64e4d35b 100644 --- a/sdk/search/search-documents/src/generated/service/searchServiceClientContext.ts +++ b/sdk/search/search-documents/src/generated/service/searchServiceClientContext.ts @@ -8,17 +8,17 @@ import * as coreHttp from "@azure/core-http"; import { - ApiVersion20200630Preview, + ApiVersion20200630, SearchServiceClientOptionalParams } from "./models"; const packageName = "@azure/search-documents"; -const packageVersion = "11.2.0-beta.3"; +const packageVersion = "11.2.0"; /** @internal */ export class SearchServiceClientContext extends coreHttp.ServiceClient { endpoint: string; - apiVersion: ApiVersion20200630Preview; + apiVersion: ApiVersion20200630; /** * Initializes a new instance of the SearchServiceClientContext class. @@ -28,7 +28,7 @@ export class SearchServiceClientContext extends coreHttp.ServiceClient { */ constructor( endpoint: string, - apiVersion: ApiVersion20200630Preview, + apiVersion: ApiVersion20200630, options?: SearchServiceClientOptionalParams ) { if (endpoint === undefined) { diff --git a/sdk/search/search-documents/src/index.ts b/sdk/search/search-documents/src/index.ts index 85fa534379b3..0d89306313ae 100644 --- a/sdk/search/search-documents/src/index.ts +++ b/sdk/search/search-documents/src/index.ts @@ -110,8 +110,7 @@ export { SearchResourceEncryptionKey, SearchIndexStatistics, SearchServiceStatistics, - SearchIndexer, - LexicalNormalizer + SearchIndexer } from "./serviceModels"; export { default as GeographyPoint } from "./geographyPoint"; export { odata } from "./odata"; @@ -126,15 +125,7 @@ export { IndexingResult, QueryType, SearchMode, - ScoringStatistics, - Answers, - KnownAnswers, - QueryLanguage, - KnownQueryLanguage, - Speller, - KnownSpeller, - CaptionResult, - AnswerResult + ScoringStatistics } from "./generated/data/models"; export { RegexFlags, @@ -284,14 +275,10 @@ export { LexicalAnalyzer as BaseLexicalAnalyzer, CharFilter as BaseCharFilter, DataDeletionDetectionPolicy as BaseDataDeletionDetectionPolicy, - LexicalNormalizerName, - KnownLexicalNormalizerName, - CustomNormalizer, TokenFilterName, KnownTokenFilterName, CharFilterName, KnownCharFilterName, - LexicalNormalizer as BaseLexicalNormalizer, SearchIndexerKnowledgeStore, SearchIndexerKnowledgeStoreProjection, SearchIndexerKnowledgeStoreFileProjectionSelector, diff --git a/sdk/search/search-documents/src/indexModels.ts b/sdk/search/search-documents/src/indexModels.ts index 79c853ca2868..cb42989e0d75 100644 --- a/sdk/search/search-documents/src/indexModels.ts +++ b/sdk/search/search-documents/src/indexModels.ts @@ -8,12 +8,7 @@ import { FacetResult, AutocompleteMode, IndexActionType, - ScoringStatistics, - QueryLanguage, - Speller, - Answers, - CaptionResult, - AnswerResult + ScoringStatistics } from "./generated/data/models"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; @@ -258,19 +253,6 @@ export interface SearchRequest { * count the document as a match. Possible values include: 'Any', 'All' */ searchMode?: SearchMode; - /** - * A value that specifies the language of the search query. - */ - queryLanguage?: QueryLanguage; - /** - * A value that specified the type of the speller to use to spell-correct individual search - * query terms. - */ - speller?: Speller; - /** - * A value that specifies whether answers should be returned as part of the search response. - */ - answers?: Answers; /** * The comma-separated list of fields to retrieve. If unspecified, all fields marked as * retrievable in the schema are included. @@ -363,21 +345,6 @@ export interface SearchRequestOptions { * fielded search expression take precedence over any field names listed in this parameter. */ searchFields?: Fields[]; - /** - * The language of the query. - */ - queryLanguage?: QueryLanguage; - /** - * Improve search recall by spell-correcting individual search query terms. - */ - speller?: Speller; - /** - * This parameter is only valid if the query type is 'semantic'. If set, the query returns answers - * extracted from key passages in the highest ranked documents. The number of answers returned can - * be configured by appending the pipe character '|' followed by the 'count-\' option - * after the answers parameter value, such as 'extractive|count-3'. Default count is 1. - */ - answers?: Answers; /** * A value that specifies whether any or all of the search terms must be matched in order to * count the document as a match. Possible values include: 'any', 'all' @@ -426,22 +393,12 @@ export type SearchResult = { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly score: number; - /** - * The relevance score computed by the semantic ranker for the top search results. Search results are sorted by the RerankerScore first and then by the Score. RerankerScore is only returned for queries of type 'semantic'. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly rerankerScore?: number; /** * Text fragments from the document that indicate the matching search terms, organized by each * applicable field; null if hit highlighting was not enabled for the query. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly highlights?: { [k in keyof T]?: string[] }; - /** - * Captions are the most representative passages from the document relatively to the search query. They are often used as document summary. Captions are only returned for queries of type 'semantic'. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly captions?: CaptionResult[] | null; document: T; }; @@ -470,12 +427,6 @@ export interface SearchDocumentsResultBase { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly facets?: { [propertyName: string]: FacetResult[] }; - /** - * The answers query results for the search operation; null if the answers query parameter was - * not specified or set to 'none'. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly answers?: AnswerResult[] | null; } /** diff --git a/sdk/search/search-documents/src/searchClient.ts b/sdk/search/search-documents/src/searchClient.ts index 65f584b17acf..4bf5b98ebc1d 100644 --- a/sdk/search/search-documents/src/searchClient.ts +++ b/sdk/search/search-documents/src/searchClient.ts @@ -260,7 +260,7 @@ export class SearchClient implements IndexDocumentsClient { operationOptionsToRequestOptionsBase(updatedOptions) ); - const { results, count, coverage, facets, answers, nextLink } = result; + const { results, count, coverage, facets, nextLink } = result; const modifiedResults = utils.generatedSearchResultToPublicSearchResult(results); @@ -269,7 +269,6 @@ export class SearchClient implements IndexDocumentsClient { count, coverage, facets, - answers, continuationToken: this.encodeContinuationToken(nextLink, result.nextPageParameters) }; @@ -362,13 +361,12 @@ export class SearchClient implements IndexDocumentsClient { try { const pageResult = await this.searchDocuments(searchText, updatedOptions); - const { count, coverage, facets, answers } = pageResult; + const { count, coverage, facets } = pageResult; return { count, coverage, facets, - answers, results: this.listSearchResults(pageResult, searchText, updatedOptions) }; } catch (e) { diff --git a/sdk/search/search-documents/src/serviceModels.ts b/sdk/search/search-documents/src/serviceModels.ts index 310a05a2fbf6..d612d1310a1f 100644 --- a/sdk/search/search-documents/src/serviceModels.ts +++ b/sdk/search/search-documents/src/serviceModels.ts @@ -74,8 +74,6 @@ import { FieldMapping, IndexingParameters, IndexingSchedule, - LexicalNormalizerName, - CustomNormalizer, SearchIndexerKnowledgeStore } from "./generated/service/models"; @@ -661,11 +659,6 @@ export type TokenFilter = */ export type CharFilter = MappingCharFilter | PatternReplaceCharFilter; -/** - * Contains the possible cases for LexicalNormalizer. - */ -export type LexicalNormalizer = CustomNormalizer; - /** * Contains the possible cases for ScoringFunction. */ @@ -813,10 +806,6 @@ export interface SimpleField { * fields. */ synonymMapNames?: string[]; - /** - * The name of the normalizer used at indexing time for the field. - */ - normalizerName?: LexicalNormalizerName; } export function isComplexField(field: SearchField): field is ComplexField { @@ -936,10 +925,6 @@ export interface SearchIndex { * The character filters for the index. */ charFilters?: CharFilter[]; - /** - * The normalizers for the index. - */ - normalizers?: LexicalNormalizer[]; /** * A description of an encryption key that you create in Azure Key Vault. This key is used to * provide an additional level of encryption-at-rest for your data when you want full assurance diff --git a/sdk/search/search-documents/src/serviceUtils.ts b/sdk/search/search-documents/src/serviceUtils.ts index 6f457759c7cf..9a56c33b0d45 100644 --- a/sdk/search/search-documents/src/serviceUtils.ts +++ b/sdk/search/search-documents/src/serviceUtils.ts @@ -45,8 +45,7 @@ import { StopAnalyzer, PatternAnalyzer as GeneratedPatternAnalyzer, CustomAnalyzer, - PatternTokenizer, - LexicalNormalizerName + PatternTokenizer } from "./generated/service/models"; import { LexicalAnalyzer, @@ -69,8 +68,7 @@ import { DataDeletionDetectionPolicy, SimilarityAlgorithm, SearchResourceEncryptionKey, - PatternAnalyzer, - LexicalNormalizer + PatternAnalyzer } from "./serviceModels"; import { SuggestDocumentsResult, SuggestResult, SearchResult } from "./indexModels"; import { @@ -252,7 +250,6 @@ export function convertFieldsToPublic(fields: GeneratedSearchField[]): SearchFie const searchAnalyzerName: LexicalAnalyzerName | undefined | null = field.searchAnalyzer; const indexAnalyzerName: LexicalAnalyzerName | undefined | null = field.indexAnalyzer; const synonymMapNames: string[] | undefined = field.synonymMaps; - const normalizerNames: LexicalNormalizerName | undefined | null = field.normalizer; const { retrievable, ...restField } = field; const hidden = typeof retrievable === "boolean" ? !retrievable : retrievable; @@ -263,8 +260,7 @@ export function convertFieldsToPublic(fields: GeneratedSearchField[]): SearchFie anayzerName, searchAnalyzerName, indexAnalyzerName, - synonymMapNames, - normalizerNames + synonymMapNames } as SimpleField; } return result; @@ -289,8 +285,7 @@ export function convertFieldsToGenerated(fields: SearchField[]): GeneratedSearch analyzer: field.analyzerName, searchAnalyzer: field.searchAnalyzerName, indexAnalyzer: field.indexAnalyzerName, - synonymMaps: field.synonymMapNames, - normalizer: field.normalizerName + synonymMaps: field.synonymMapNames }; } }); @@ -438,7 +433,6 @@ export function generatedIndexToPublicIndex(generatedIndex: GeneratedSearchIndex tokenizers: convertTokenizersToPublic(generatedIndex.tokenizers), tokenFilters: generatedIndex.tokenFilters as TokenFilter[], charFilters: generatedIndex.charFilters as CharFilter[], - normalizers: generatedIndex.normalizers as LexicalNormalizer[], scoringProfiles: generatedIndex.scoringProfiles as ScoringProfile[], fields: convertFieldsToPublic(generatedIndex.fields), similarity: convertSimilarityToPublic(generatedIndex.similarity) @@ -456,8 +450,6 @@ export function generatedSearchResultToPublicSearchResult( const obj = { score: _score, highlights: _highlights, - rerankerScore, - captions, document: doc }; return obj as SearchResult; @@ -501,7 +493,6 @@ export function publicIndexToGeneratedIndex(index: SearchIndex): GeneratedSearch etag: index.etag, tokenFilters: convertTokenFiltersToGenerated(index.tokenFilters), charFilters: index.charFilters, - normalizers: index.normalizers, scoringProfiles: index.scoringProfiles, analyzers: convertAnalyzersToGenerated(index.analyzers), tokenizers: convertTokenizersToGenerated(index.tokenizers), diff --git a/sdk/search/search-documents/swagger/Data.md b/sdk/search/search-documents/swagger/Data.md index d4e50258c61c..2c3b9d32ea9b 100644 --- a/sdk/search/search-documents/swagger/Data.md +++ b/sdk/search/search-documents/swagger/Data.md @@ -10,7 +10,8 @@ generate-metadata: false license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../ source-code-folder-path: ./src/generated/data -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/d95c18e2d5fc678a1453c454d746fdce22d30122/specification/search/data-plane/Azure.Search/preview/2020-06-30-Preview/searchindex.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/d95c18e2d5fc678a1453c454d746fdce22d30122/specification/search/data-plane/Azure.Search/preview/2020-06-30/searchindex.json + add-credentials: false title: SearchClient use-extension: diff --git a/sdk/search/search-documents/swagger/Service.md b/sdk/search/search-documents/swagger/Service.md index d4d5f6322f1a..8e624e0abe57 100644 --- a/sdk/search/search-documents/swagger/Service.md +++ b/sdk/search/search-documents/swagger/Service.md @@ -10,7 +10,7 @@ generate-metadata: false license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../ source-code-folder-path: ./src/generated/service -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/d95c18e2d5fc678a1453c454d746fdce22d30122/specification/search/data-plane/Azure.Search/preview/2020-06-30-Preview/searchservice.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/d95c18e2d5fc678a1453c454d746fdce22d30122/specification/search/data-plane/Azure.Search/preview/2020-06-30/searchservice.json add-credentials: false use-extension: "@autorest/typescript": "6.0.0-dev.20210121.1" diff --git a/sdk/search/search-documents/test/public/node/searchClient.spec.ts b/sdk/search/search-documents/test/public/node/searchClient.spec.ts index 39dec77f4c68..bf74936f4aae 100644 --- a/sdk/search/search-documents/test/public/node/searchClient.spec.ts +++ b/sdk/search/search-documents/test/public/node/searchClient.spec.ts @@ -12,9 +12,7 @@ import { SearchClient, SearchIndexClient, AutocompleteResult, - IndexDocumentsBatch, - KnownSpeller, - KnownQueryLanguage + IndexDocumentsBatch } from "../../../src"; import { Hotel } from "../utils/interfaces"; import { createIndex, populateIndex, WAIT_TIME, createRandomIndexName } from "../utils/setup"; @@ -253,26 +251,4 @@ describe("SearchClient", function(this: Suite) { const documentCount = await searchClient.getDocumentsCount(); assert.equal(documentCount, 11); }); - - it("search with speller", async function() { - const searchResults = await searchClient.search("budjet", { - skip: 0, - top: 5, - includeTotalCount: true, - queryLanguage: KnownQueryLanguage.EnUs, - speller: KnownSpeller.Lexicon - }); - assert.equal(searchResults.count, 6); - }); - - it("search with semantic ranking", async function() { - const searchResults = await searchClient.search("luxury", { - skip: 0, - top: 5, - includeTotalCount: true, - queryLanguage: KnownQueryLanguage.EnUs, - queryType: "semantic" - }); - assert.equal(searchResults.count, 1); - }); });