From 80fc80f249e953f6d839b0d0741d73a68ad0a7f5 Mon Sep 17 00:00:00 2001 From: Mohit Chakraborty Date: Thu, 29 Apr 2021 14:56:52 -0700 Subject: [PATCH 1/6] Pass service version explicitly to search client options --- .../tests/Samples/Sample01_HelloWorld.cs | 2 +- .../Azure.Search.Documents/tests/SearchIndexClientTests.cs | 2 +- .../tests/SearchIndexerClientTests.cs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/search/Azure.Search.Documents/tests/Samples/Sample01_HelloWorld.cs b/sdk/search/Azure.Search.Documents/tests/Samples/Sample01_HelloWorld.cs index da06996651358..c420c210ec40b 100644 --- a/sdk/search/Azure.Search.Documents/tests/Samples/Sample01_HelloWorld.cs +++ b/sdk/search/Azure.Search.Documents/tests/Samples/Sample01_HelloWorld.cs @@ -184,7 +184,7 @@ public async Task CreateIndexerAsync() Environment.GetEnvironmentVariable("SEARCH_API_KEY")); SearchIndexClient indexClient = new SearchIndexClient(endpoint, credential); #if !SNIPPET - indexClient = resources.GetIndexClient(new SearchClientOptions()); + indexClient = resources.GetIndexClient(new SearchClientOptions(SearchClientOptions.LatestVersion)); #endif // Create a synonym map from a file containing country names and abbreviations diff --git a/sdk/search/Azure.Search.Documents/tests/SearchIndexClientTests.cs b/sdk/search/Azure.Search.Documents/tests/SearchIndexClientTests.cs index f6880b81ba4b3..a86852c025086 100644 --- a/sdk/search/Azure.Search.Documents/tests/SearchIndexClientTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/SearchIndexClientTests.cs @@ -84,7 +84,7 @@ public void DiagnosticsAreUnique() { // Make sure we're not repeating Header/Query names already defined // in the base ClientOptions - SearchClientOptions options = new SearchClientOptions(); + SearchClientOptions options = new SearchClientOptions(ServiceVersion); Assert.IsEmpty(GetDuplicates(options.Diagnostics.LoggedHeaderNames)); Assert.IsEmpty(GetDuplicates(options.Diagnostics.LoggedQueryParameters)); diff --git a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs index dc8c522a67b58..879eee9b1c1b4 100644 --- a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs @@ -40,7 +40,7 @@ public void DiagnosticsAreUnique() { // Make sure we're not repeating Header/Query names already defined // in the base ClientOptions - SearchClientOptions options = new SearchClientOptions(); + SearchClientOptions options = new SearchClientOptions(ServiceVersion); Assert.IsEmpty(GetDuplicates(options.Diagnostics.LoggedHeaderNames)); Assert.IsEmpty(GetDuplicates(options.Diagnostics.LoggedQueryParameters)); @@ -381,7 +381,7 @@ public async Task CrudSkillset() { await using SearchResources resources = await SearchResources.CreateWithBlobStorageAndIndexAsync(this); - SearchIndexerClient client = resources.GetIndexerClient(new SearchClientOptions()); + SearchIndexerClient client = resources.GetIndexerClient(new SearchClientOptions(SearchClientOptions.LatestVersion)); string skillsetName = Recording.Random.GetName(); // Skills based on https://github.com/Azure-Samples/azure-search-sample-data/blob/master/hotelreviews/HotelReviews_skillset.json. @@ -620,7 +620,7 @@ public async Task RoundtripAllSkills() await using SearchResources resources = SearchResources.CreateWithNoIndexes(this); - SearchIndexerClient client = resources.GetIndexerClient(new SearchClientOptions()); + SearchIndexerClient client = resources.GetIndexerClient(new SearchClientOptions(SearchClientOptions.LatestVersion)); string skillsetName = Recording.Random.GetName(); // Enumerate all skills and create them with consistently fake input to test for nullability during deserialization. From c785549d0aac72e0172edba96c4f4b5b854548e1 Mon Sep 17 00:00:00 2001 From: Mohit Chakraborty Date: Thu, 29 Apr 2021 16:45:22 -0700 Subject: [PATCH 2/6] Use service functionality depending on service version --- .../tests/SearchIndexerClientTests.cs | 181 ++++++++++-------- .../CrudDataSourceConnection.json | 135 ++++++------- .../CrudDataSourceConnectionAsync.json | 132 ++++++------- 3 files changed, 233 insertions(+), 215 deletions(-) diff --git a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs index 879eee9b1c1b4..f1b0bbffe9426 100644 --- a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs @@ -13,6 +13,7 @@ namespace Azure.Search.Documents.Tests { + [ClientTestFixture(SearchClientOptions.ServiceVersion.V2020_06_30, SearchClientOptions.ServiceVersion.V2020_06_30_Preview)] public class SearchIndexerClientTests : SearchTestBase { public SearchIndexerClientTests(bool async, SearchClientOptions.ServiceVersion serviceVersion) @@ -381,7 +382,7 @@ public async Task CrudSkillset() { await using SearchResources resources = await SearchResources.CreateWithBlobStorageAndIndexAsync(this); - SearchIndexerClient client = resources.GetIndexerClient(new SearchClientOptions(SearchClientOptions.LatestVersion)); + SearchIndexerClient client = resources.GetIndexerClient(new SearchClientOptions(ServiceVersion)); string skillsetName = Recording.Random.GetName(); // Skills based on https://github.com/Azure-Samples/azure-search-sample-data/blob/master/hotelreviews/HotelReviews_skillset.json. @@ -481,75 +482,78 @@ public async Task CrudSkillset() Context = "/document", }; - SearchIndexerKnowledgeStoreTableProjectionSelector table1 = new("hotelReviewsDocument") + SearchIndexerSkillset skillset = new SearchIndexerSkillset(skillsetName, new[] { skill1, skill2, skill3, skill4, skill5 }) { - GeneratedKeyName = "Documentid", - Source = "/document/tableprojection", - SourceContext = null, + CognitiveServicesAccount = new DefaultCognitiveServicesAccount(), }; - SearchIndexerKnowledgeStoreTableProjectionSelector table2 = new("hotelReviewsPages") + if (ServiceVersion == SearchClientOptions.ServiceVersion.V2020_06_30_Preview) { - GeneratedKeyName = "Pagesid", - Source = "/document/tableprojection/pages/*", - SourceContext = null, - }; + SearchIndexerKnowledgeStoreTableProjectionSelector table1 = new("hotelReviewsDocument") + { + GeneratedKeyName = "Documentid", + Source = "/document/tableprojection", + SourceContext = null, + }; - SearchIndexerKnowledgeStoreTableProjectionSelector table3 = new("hotelReviewsKeyPhrases") - { - GeneratedKeyName = "KeyPhrasesid", - Source = "/document/tableprojection/pages/*/keyphrase/*", - SourceContext = null, - }; + SearchIndexerKnowledgeStoreTableProjectionSelector table2 = new("hotelReviewsPages") + { + GeneratedKeyName = "Pagesid", + Source = "/document/tableprojection/pages/*", + SourceContext = null, + }; - SearchIndexerKnowledgeStoreProjection projection1 = new(); - projection1.Tables.Add(table1); - projection1.Tables.Add(table2); - projection1.Tables.Add(table3); + SearchIndexerKnowledgeStoreTableProjectionSelector table3 = new("hotelReviewsKeyPhrases") + { + GeneratedKeyName = "KeyPhrasesid", + Source = "/document/tableprojection/pages/*/keyphrase/*", + SourceContext = null, + }; - SearchIndexerKnowledgeStoreTableProjectionSelector table4 = new("hotelReviewsInlineDocument") - { - GeneratedKeyName = "Documentid", - Source = null, - SourceContext = "/document", - }; - table4.Inputs.Add(new("name") { Source = "/document/name", SourceContext = null }); - table4.Inputs.Add(new("reviews_date") { Source = "/document/reviews_date", SourceContext = null }); - table4.Inputs.Add(new("reviews_rating") { Source = "/document/reviews_rating", SourceContext = null }); - table4.Inputs.Add(new("reviews_text") { Source = "/document/reviews_text", SourceContext = null }); - table4.Inputs.Add(new("reviews_title") { Source = "/document/reviews_title", SourceContext = null }); - table4.Inputs.Add(new("AzureSearch_DocumentKey") { Source = "/document/AzureSearch_DocumentKey", SourceContext = null }); - - SearchIndexerKnowledgeStoreTableProjectionSelector table5 = new("hotelReviewsInlinePages") - { - GeneratedKeyName = "Pagesid", - Source = null, - SourceContext = "/document/reviews_text/pages/*", - }; - table5.Inputs.Add(new("SentimentScore") { Source = "/document/reviews_text/pages/*/Sentiment", SourceContext = null }); - table5.Inputs.Add(new("LanguageCode") { Source = "/document/Language", SourceContext = null }); - table5.Inputs.Add(new("Page") { Source = "/document/reviews_text/pages/*", SourceContext = null }); + SearchIndexerKnowledgeStoreProjection projection1 = new(); + projection1.Tables.Add(table1); + projection1.Tables.Add(table2); + projection1.Tables.Add(table3); - SearchIndexerKnowledgeStoreTableProjectionSelector table6 = new("hotelReviewsInlineKeyPhrases") - { - GeneratedKeyName = "kpidv2", - Source = null, - SourceContext = "/document/reviews_text/pages/*/Keyphrases/*", - }; - table6.Inputs.Add(new("Keyphrases") { Source = "/document/reviews_text/pages/*/Keyphrases/*", SourceContext = null }); + SearchIndexerKnowledgeStoreTableProjectionSelector table4 = new("hotelReviewsInlineDocument") + { + GeneratedKeyName = "Documentid", + Source = null, + SourceContext = "/document", + }; + table4.Inputs.Add(new("name") { Source = "/document/name", SourceContext = null }); + table4.Inputs.Add(new("reviews_date") { Source = "/document/reviews_date", SourceContext = null }); + table4.Inputs.Add(new("reviews_rating") { Source = "/document/reviews_rating", SourceContext = null }); + table4.Inputs.Add(new("reviews_text") { Source = "/document/reviews_text", SourceContext = null }); + table4.Inputs.Add(new("reviews_title") { Source = "/document/reviews_title", SourceContext = null }); + table4.Inputs.Add(new("AzureSearch_DocumentKey") { Source = "/document/AzureSearch_DocumentKey", SourceContext = null }); + + SearchIndexerKnowledgeStoreTableProjectionSelector table5 = new("hotelReviewsInlinePages") + { + GeneratedKeyName = "Pagesid", + Source = null, + SourceContext = "/document/reviews_text/pages/*", + }; + table5.Inputs.Add(new("SentimentScore") { Source = "/document/reviews_text/pages/*/Sentiment", SourceContext = null }); + table5.Inputs.Add(new("LanguageCode") { Source = "/document/Language", SourceContext = null }); + table5.Inputs.Add(new("Page") { Source = "/document/reviews_text/pages/*", SourceContext = null }); - SearchIndexerKnowledgeStoreProjection projection2 = new(); - projection2.Tables.Add(table4); - projection2.Tables.Add(table5); - projection2.Tables.Add(table6); + SearchIndexerKnowledgeStoreTableProjectionSelector table6 = new("hotelReviewsInlineKeyPhrases") + { + GeneratedKeyName = "kpidv2", + Source = null, + SourceContext = "/document/reviews_text/pages/*/Keyphrases/*", + }; + table6.Inputs.Add(new("Keyphrases") { Source = "/document/reviews_text/pages/*/Keyphrases/*", SourceContext = null }); - List projections = new() { projection1, projection2 }; + SearchIndexerKnowledgeStoreProjection projection2 = new(); + projection2.Tables.Add(table4); + projection2.Tables.Add(table5); + projection2.Tables.Add(table6); - SearchIndexerSkillset skillset = new SearchIndexerSkillset(skillsetName, new[] { skill1, skill2, skill3, skill4, skill5 }) - { - CognitiveServicesAccount = new DefaultCognitiveServicesAccount(), - KnowledgeStore = new SearchIndexerKnowledgeStore(resources.StorageAccountConnectionString, projections), - }; + List projections = new() { projection1, projection2 }; + skillset.KnowledgeStore = new SearchIndexerKnowledgeStore(resources.StorageAccountConnectionString, projections); + } // Create the skillset. SearchIndexerSkillset createdSkillset = await client.CreateSkillsetAsync(skillset); @@ -571,30 +575,33 @@ public async Task CrudSkillset() Assert.That(skillset, Is.EqualTo(updatedSkillset).Using(SearchIndexerSkillsetComparer.Shared)); Assert.AreEqual(updatedSkillset.ETag, skillset.ETag); - // Check the projections in the knowledge store of the skillset. - Assert.AreEqual(2, skillset.KnowledgeStore.Projections.Count); - - SearchIndexerKnowledgeStoreProjection p1 = skillset.KnowledgeStore.Projections[0]; - Assert.AreEqual(3, p1.Tables.Count); - Assert.AreEqual("hotelReviewsDocument", p1.Tables[0].TableName); - Assert.AreEqual(0, p1.Tables[0].Inputs.Count); - Assert.AreEqual("hotelReviewsPages", p1.Tables[1].TableName); - Assert.AreEqual(0, p1.Tables[1].Inputs.Count); - Assert.AreEqual("hotelReviewsKeyPhrases", p1.Tables[2].TableName); - Assert.AreEqual(0, p1.Tables[2].Inputs.Count); - Assert.AreEqual(0, p1.Objects.Count); - Assert.AreEqual(0, p1.Files.Count); - - SearchIndexerKnowledgeStoreProjection p2 = skillset.KnowledgeStore.Projections[1]; - Assert.AreEqual(3, p2.Tables.Count); - Assert.AreEqual("hotelReviewsInlineDocument", p2.Tables[0].TableName); - Assert.AreEqual(6, p2.Tables[0].Inputs.Count); - Assert.AreEqual("hotelReviewsInlinePages", p2.Tables[1].TableName); - Assert.AreEqual(3, p2.Tables[1].Inputs.Count); - Assert.AreEqual("hotelReviewsInlineKeyPhrases", p2.Tables[2].TableName); - Assert.AreEqual(1, p2.Tables[2].Inputs.Count); - Assert.AreEqual(0, p2.Objects.Count); - Assert.AreEqual(0, p2.Files.Count); + if (ServiceVersion == SearchClientOptions.ServiceVersion.V2020_06_30_Preview) + { + // Check the projections in the knowledge store of the skillset. + Assert.AreEqual(2, skillset.KnowledgeStore.Projections.Count); + + SearchIndexerKnowledgeStoreProjection p1 = skillset.KnowledgeStore.Projections[0]; + Assert.AreEqual(3, p1.Tables.Count); + Assert.AreEqual("hotelReviewsDocument", p1.Tables[0].TableName); + Assert.AreEqual(0, p1.Tables[0].Inputs.Count); + Assert.AreEqual("hotelReviewsPages", p1.Tables[1].TableName); + Assert.AreEqual(0, p1.Tables[1].Inputs.Count); + Assert.AreEqual("hotelReviewsKeyPhrases", p1.Tables[2].TableName); + Assert.AreEqual(0, p1.Tables[2].Inputs.Count); + Assert.AreEqual(0, p1.Objects.Count); + Assert.AreEqual(0, p1.Files.Count); + + SearchIndexerKnowledgeStoreProjection p2 = skillset.KnowledgeStore.Projections[1]; + Assert.AreEqual(3, p2.Tables.Count); + Assert.AreEqual("hotelReviewsInlineDocument", p2.Tables[0].TableName); + Assert.AreEqual(6, p2.Tables[0].Inputs.Count); + Assert.AreEqual("hotelReviewsInlinePages", p2.Tables[1].TableName); + Assert.AreEqual(3, p2.Tables[1].Inputs.Count); + Assert.AreEqual("hotelReviewsInlineKeyPhrases", p2.Tables[2].TableName); + Assert.AreEqual(1, p2.Tables[2].Inputs.Count); + Assert.AreEqual(0, p2.Objects.Count); + Assert.AreEqual(0, p2.Files.Count); + } // Delete the skillset. await client.DeleteSkillsetAsync(skillset, onlyIfUnchanged: true); @@ -620,7 +627,7 @@ public async Task RoundtripAllSkills() await using SearchResources resources = SearchResources.CreateWithNoIndexes(this); - SearchIndexerClient client = resources.GetIndexerClient(new SearchClientOptions(SearchClientOptions.LatestVersion)); + SearchIndexerClient client = resources.GetIndexerClient(new SearchClientOptions(ServiceVersion)); string skillsetName = Recording.Random.GetName(); // Enumerate all skills and create them with consistently fake input to test for nullability during deserialization. @@ -667,9 +674,13 @@ SearchIndexerSkill CreateSkill(Type t, string[] inputNames, string[] outputNames SearchIndexerSkillset specifiedSkillset = new SearchIndexerSkillset(skillsetName, skills) { CognitiveServicesAccount = new DefaultCognitiveServicesAccount(), - KnowledgeStore = new SearchIndexerKnowledgeStore(resources.StorageAccountConnectionString, new List()), }; + if (ServiceVersion == SearchClientOptions.ServiceVersion.V2020_06_30_Preview) + { + specifiedSkillset.KnowledgeStore = new SearchIndexerKnowledgeStore(resources.StorageAccountConnectionString, new List()); + } + try { SearchIndexerSkillset createdSkillset = await client.CreateSkillsetAsync(specifiedSkillset); diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnection.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnection.json index 730849c33bd53..be928364065de 100644 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnection.json +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnection.json @@ -1,17 +1,17 @@ { "Entries": [ { - "RequestUri": "https://azs-net-heathsrchtst.search.windows.net/datasources?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/datasources?api-version=2020-06-30-Preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "Content-Length": "219", + "Content-Length": "216", "Content-Type": "application/json", - "traceparent": "00-b37d21be111f2d4d8946352579177ff8-5b384767e7c2a44b-00", + "traceparent": "00-4165150f122119489c3d842cfa773c5f-5ac389213cf53b47-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.0.0-dev.20200625.1", - "(.NET Core 4.6.28928.01; Microsoft Windows 10.0.19041 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "5e7ee7eca6f238500027f653e2704c9f", "x-ms-return-client-request-id": "true" @@ -20,23 +20,23 @@ "name": "tulnjsnj", "type": "azureblob", "credentials": { - "connectionString": "DefaultEndpointsProtocol=https;AccountName=heathsrchtststg;AccountKey=Sanitized;EndpointSuffix=core.windows.net" + "connectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net" }, "container": { - "name": "fxqpoxde" + "name": "rfiltgsp" } }, "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "5e7ee7ec-a6f2-3850-0027-f653e2704c9f", - "Content-Length": "381", + "Content-Length": "371", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 26 Jun 2020 06:28:20 GMT", - "elapsed-time": "117", - "ETag": "W/\u00220x8D8199A1F021414\u0022", + "Date": "Thu, 29 Apr 2021 22:50:09 GMT", + "elapsed-time": "130", + "ETag": "W/\u00220x8D90B61243E8584\u0022", "Expires": "-1", - "Location": "https://azs-net-heathsrchtst.search.windows.net/datasources(\u0027tulnjsnj\u0027)?api-version=2020-06-30", + "Location": "https://mohitc-acs.search.windows.net/datasources(\u0027tulnjsnj\u0027)?api-version=2020-06-30-Preview", "OData-Version": "4.0", "Pragma": "no-cache", "Preference-Applied": "odata.include-annotations=\u0022*\u0022", @@ -45,8 +45,8 @@ "x-ms-client-request-id": "5e7ee7ec-a6f2-3850-0027-f653e2704c9f" }, "ResponseBody": { - "@odata.context": "https://azs-net-heathsrchtst.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D8199A1F021414\u0022", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", + "@odata.etag": "\u00220x8D90B61243E8584\u0022", "name": "tulnjsnj", "description": null, "type": "azureblob", @@ -55,7 +55,7 @@ "connectionString": null }, "container": { - "name": "fxqpoxde", + "name": "rfiltgsp", "query": null }, "dataChangeDetectionPolicy": null, @@ -64,19 +64,19 @@ } }, { - "RequestUri": "https://azs-net-heathsrchtst.search.windows.net/datasources(\u0027tulnjsnj\u0027)?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/datasources(\u0027tulnjsnj\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", "Content-Length": "211", "Content-Type": "application/json", - "If-Match": "\u00220x8D8199A1F021414\u0022", + "If-Match": "\u00220x8D90B61243E8584\u0022", "Prefer": "return=representation", - "traceparent": "00-56c22f12d0e0bf4b8721e9e5f1c1e575-636521c35a6a5b45-00", + "traceparent": "00-55cf25bfa17f38488069bd05d1d5eb9f-37b31e329617f44d-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.0.0-dev.20200625.1", - "(.NET Core 4.6.28928.01; Microsoft Windows 10.0.19041 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "8332b1fa8fe7b0044936592b8a7f8137", "x-ms-return-client-request-id": "true" @@ -89,19 +89,19 @@ "connectionString": "\u003Cunchanged\u003E" }, "container": { - "name": "fxqpoxde" + "name": "rfiltgsp" }, - "@odata.etag": "\u00220x8D8199A1F021414\u0022" + "@odata.etag": "\u00220x8D90B61243E8584\u0022" }, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "8332b1fa-8fe7-b004-4936-592b8a7f8137", - "Content-Length": "398", + "Content-Length": "388", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 26 Jun 2020 06:28:20 GMT", - "elapsed-time": "109", - "ETag": "W/\u00220x8D8199A1F264484\u0022", + "Date": "Thu, 29 Apr 2021 22:50:09 GMT", + "elapsed-time": "51", + "ETag": "W/\u00220x8D90B6124525F26\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -111,8 +111,8 @@ "x-ms-client-request-id": "8332b1fa-8fe7-b004-4936-592b8a7f8137" }, "ResponseBody": { - "@odata.context": "https://azs-net-heathsrchtst.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D8199A1F264484\u0022", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", + "@odata.etag": "\u00220x8D90B6124525F26\u0022", "name": "tulnjsnj", "description": "Updated description", "type": "azureblob", @@ -121,7 +121,7 @@ "connectionString": null }, "container": { - "name": "fxqpoxde", + "name": "rfiltgsp", "query": null }, "dataChangeDetectionPolicy": null, @@ -130,15 +130,15 @@ } }, { - "RequestUri": "https://azs-net-heathsrchtst.search.windows.net/datasources(\u0027tulnjsnj\u0027)?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/datasources(\u0027tulnjsnj\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-8b3f4467c2e1a348867a315ed3091760-8087d0e81929b542-00", + "traceparent": "00-a97b69f5b1c8db46951c712d6fb393f6-703b50d81b7caa45-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.0.0-dev.20200625.1", - "(.NET Core 4.6.28928.01; Microsoft Windows 10.0.19041 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "66949e9c82d62129b75c64057a15f751", "x-ms-return-client-request-id": "true" @@ -148,11 +148,11 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "66949e9c-82d6-2129-b75c-64057a15f751", - "Content-Length": "398", + "Content-Length": "388", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 26 Jun 2020 06:28:20 GMT", - "elapsed-time": "13", - "ETag": "W/\u00220x8D8199A1F264484\u0022", + "Date": "Thu, 29 Apr 2021 22:50:09 GMT", + "elapsed-time": "19", + "ETag": "W/\u00220x8D90B6124525F26\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -162,8 +162,8 @@ "x-ms-client-request-id": "66949e9c-82d6-2129-b75c-64057a15f751" }, "ResponseBody": { - "@odata.context": "https://azs-net-heathsrchtst.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D8199A1F264484\u0022", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", + "@odata.etag": "\u00220x8D90B6124525F26\u0022", "name": "tulnjsnj", "description": "Updated description", "type": "azureblob", @@ -172,7 +172,7 @@ "connectionString": null }, "container": { - "name": "fxqpoxde", + "name": "rfiltgsp", "query": null }, "dataChangeDetectionPolicy": null, @@ -181,16 +181,16 @@ } }, { - "RequestUri": "https://azs-net-heathsrchtst.search.windows.net/datasources(\u0027tulnjsnj\u0027)?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/datasources(\u0027tulnjsnj\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "If-Match": "\u00220x8D8199A1F264484\u0022", - "traceparent": "00-3556cab8ff3a024492a9866828adca7c-8c4f9cb1e52c7742-00", + "If-Match": "\u00220x8D90B6124525F26\u0022", + "traceparent": "00-ea0bd474709746419bf5560b37e2a00b-462b052c539d5d4c-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.0.0-dev.20200625.1", - "(.NET Core 4.6.28928.01; Microsoft Windows 10.0.19041 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "e8c78d2c676a5ca1e3cd14bc4d24ae80", "x-ms-return-client-request-id": "true" @@ -200,8 +200,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "e8c78d2c-676a-5ca1-e3cd-14bc4d24ae80", - "Date": "Fri, 26 Jun 2020 06:28:20 GMT", - "elapsed-time": "49", + "Date": "Thu, 29 Apr 2021 22:50:09 GMT", + "elapsed-time": "60", "Expires": "-1", "Pragma": "no-cache", "request-id": "e8c78d2c-676a-5ca1-e3cd-14bc4d24ae80", @@ -211,15 +211,15 @@ "ResponseBody": [] }, { - "RequestUri": "https://azs-net-heathsrchtst.search.windows.net/datasources?$select=name\u0026api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/datasources?$select=name\u0026api-version=2020-06-30-Preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-9a61d1b808fa5b478d1bb76765ce5839-95af7535f11ff849-00", + "traceparent": "00-82ae5dc4343d574aa57401e239d14695-8a17b42f4fac1044-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.0.0-dev.20200625.1", - "(.NET Core 4.6.28928.01; Microsoft Windows 10.0.19041 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "44b6bea6e6dc77c88810cc8b2aff3634", "x-ms-return-client-request-id": "true" @@ -229,10 +229,10 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "44b6bea6-e6dc-77c8-8810-cc8b2aff3634", - "Content-Length": "126", + "Content-Length": "136", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 26 Jun 2020 06:28:20 GMT", - "elapsed-time": "12", + "Date": "Thu, 29 Apr 2021 22:50:09 GMT", + "elapsed-time": "152", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -242,24 +242,27 @@ "x-ms-client-request-id": "44b6bea6-e6dc-77c8-8810-cc8b2aff3634" }, "ResponseBody": { - "@odata.context": "https://azs-net-heathsrchtst.search.windows.net/$metadata#datasources(name)", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources(name)", "value": [ { "name": "frgsqbma" + }, + { + "name": "tnufhitt" } ] } }, { - "RequestUri": "https://azs-net-heathsrchtst.search.windows.net/indexes(\u0027assnbfev\u0027)?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027rbvmtdtm\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-9a2ed3f619658b45aa99cf6f2c51c94f-ddc1000e95fdbc4e-00", + "traceparent": "00-0e612649a5e186498b8c3a83e038bc72-a538bf1577537e40-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.0.0-dev.20200625.1", - "(.NET Core 4.6.28928.01; Microsoft Windows 10.0.19041 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "fcfe073f98b834ccfd3883096d6dd392", "x-ms-return-client-request-id": "true" @@ -269,8 +272,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "fcfe073f-98b8-34cc-fd38-83096d6dd392", - "Date": "Fri, 26 Jun 2020 06:28:21 GMT", - "elapsed-time": "194", + "Date": "Thu, 29 Apr 2021 22:50:09 GMT", + "elapsed-time": "168", "Expires": "-1", "Pragma": "no-cache", "request-id": "fcfe073f-98b8-34cc-fd38-83096d6dd392", @@ -281,12 +284,14 @@ } ], "Variables": { - "BlobContainerName": "fxqpoxde", + "BlobContainerName": "rfiltgsp", "RandomSeed": "12959464", - "SearchIndexName": "assnbfev", + "SearchIndexName": "rbvmtdtm", "SEARCH_ADMIN_API_KEY": "Sanitized", - "SEARCH_SERVICE_NAME": "azs-net-heathsrchtst", + "SEARCH_ENDPOINT_SUFFIX": null, + "SEARCH_SERVICE_NAME": "mohitc-acs", "SEARCH_STORAGE_KEY": "Sanitized", - "SEARCH_STORAGE_NAME": "heathsrchtststg" + "SEARCH_STORAGE_NAME": "mohitcsablob", + "STORAGE_ENDPOINT_SUFFIX": null } } \ No newline at end of file diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnectionAsync.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnectionAsync.json index 5e7d9d79902e7..6983d8bf034a4 100644 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnectionAsync.json +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnectionAsync.json @@ -1,17 +1,17 @@ { "Entries": [ { - "RequestUri": "https://azs-net-heathsrchtst.search.windows.net/datasources?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/datasources?api-version=2020-06-30-Preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "Content-Length": "219", + "Content-Length": "216", "Content-Type": "application/json", - "traceparent": "00-ae8126bd4fe6fa448a134a7a84889c23-fe8b2ff2c9f0cb46-00", + "traceparent": "00-51f760eaec63b54c94cb3e82f3bd1384-022a3a2ca32b7842-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.0.0-dev.20200625.1", - "(.NET Core 4.6.28928.01; Microsoft Windows 10.0.19041 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "45e763d39deafea1a5a4ccec7f3f06c3", "x-ms-return-client-request-id": "true" @@ -20,23 +20,23 @@ "name": "xvdofdnf", "type": "azureblob", "credentials": { - "connectionString": "DefaultEndpointsProtocol=https;AccountName=heathsrchtststg;AccountKey=Sanitized;EndpointSuffix=core.windows.net" + "connectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net" }, "container": { - "name": "dpeiheem" + "name": "oqsslcbl" } }, "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "45e763d3-9dea-fea1-a5a4-ccec7f3f06c3", - "Content-Length": "381", + "Content-Length": "371", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 26 Jun 2020 06:29:52 GMT", - "elapsed-time": "89", - "ETag": "W/\u00220x8D8199A560B3D03\u0022", + "Date": "Thu, 29 Apr 2021 22:50:56 GMT", + "elapsed-time": "94", + "ETag": "W/\u00220x8D90B61402A8C65\u0022", "Expires": "-1", - "Location": "https://azs-net-heathsrchtst.search.windows.net/datasources(\u0027xvdofdnf\u0027)?api-version=2020-06-30", + "Location": "https://mohitc-acs.search.windows.net/datasources(\u0027xvdofdnf\u0027)?api-version=2020-06-30-Preview", "OData-Version": "4.0", "Pragma": "no-cache", "Preference-Applied": "odata.include-annotations=\u0022*\u0022", @@ -45,8 +45,8 @@ "x-ms-client-request-id": "45e763d3-9dea-fea1-a5a4-ccec7f3f06c3" }, "ResponseBody": { - "@odata.context": "https://azs-net-heathsrchtst.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D8199A560B3D03\u0022", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", + "@odata.etag": "\u00220x8D90B61402A8C65\u0022", "name": "xvdofdnf", "description": null, "type": "azureblob", @@ -55,7 +55,7 @@ "connectionString": null }, "container": { - "name": "dpeiheem", + "name": "oqsslcbl", "query": null }, "dataChangeDetectionPolicy": null, @@ -64,19 +64,19 @@ } }, { - "RequestUri": "https://azs-net-heathsrchtst.search.windows.net/datasources(\u0027xvdofdnf\u0027)?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/datasources(\u0027xvdofdnf\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", "Content-Length": "211", "Content-Type": "application/json", - "If-Match": "\u00220x8D8199A560B3D03\u0022", + "If-Match": "\u00220x8D90B61402A8C65\u0022", "Prefer": "return=representation", - "traceparent": "00-5f4ff78a86b94b4398697429350bf6a8-bd7374db60e0994c-00", + "traceparent": "00-6394fd04c30f58449b7238ec614ed210-cd5ea2f9c5abbb47-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.0.0-dev.20200625.1", - "(.NET Core 4.6.28928.01; Microsoft Windows 10.0.19041 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "c0a01c3f803ad839c42bf0de391b99d7", "x-ms-return-client-request-id": "true" @@ -89,19 +89,19 @@ "connectionString": "\u003Cunchanged\u003E" }, "container": { - "name": "dpeiheem" + "name": "oqsslcbl" }, - "@odata.etag": "\u00220x8D8199A560B3D03\u0022" + "@odata.etag": "\u00220x8D90B61402A8C65\u0022" }, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "c0a01c3f-803a-d839-c42b-f0de391b99d7", - "Content-Length": "398", + "Content-Length": "388", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 26 Jun 2020 06:29:52 GMT", - "elapsed-time": "55", - "ETag": "W/\u00220x8D8199A561A0CC7\u0022", + "Date": "Thu, 29 Apr 2021 22:50:56 GMT", + "elapsed-time": "39", + "ETag": "W/\u00220x8D90B61403A469B\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -111,8 +111,8 @@ "x-ms-client-request-id": "c0a01c3f-803a-d839-c42b-f0de391b99d7" }, "ResponseBody": { - "@odata.context": "https://azs-net-heathsrchtst.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D8199A561A0CC7\u0022", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", + "@odata.etag": "\u00220x8D90B61403A469B\u0022", "name": "xvdofdnf", "description": "Updated description", "type": "azureblob", @@ -121,7 +121,7 @@ "connectionString": null }, "container": { - "name": "dpeiheem", + "name": "oqsslcbl", "query": null }, "dataChangeDetectionPolicy": null, @@ -130,15 +130,15 @@ } }, { - "RequestUri": "https://azs-net-heathsrchtst.search.windows.net/datasources(\u0027xvdofdnf\u0027)?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/datasources(\u0027xvdofdnf\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-ef619fff40d39442b8c97a733366ce0a-d67ac5b066c11046-00", + "traceparent": "00-4ff51ba2c50b16488ad74ee4ca92a56f-1365f027dd386b4c-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.0.0-dev.20200625.1", - "(.NET Core 4.6.28928.01; Microsoft Windows 10.0.19041 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "2b8a5705b6c9028dd5edee19f105dca8", "x-ms-return-client-request-id": "true" @@ -148,11 +148,11 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "2b8a5705-b6c9-028d-d5ed-ee19f105dca8", - "Content-Length": "398", + "Content-Length": "388", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 26 Jun 2020 06:29:52 GMT", - "elapsed-time": "28", - "ETag": "W/\u00220x8D8199A561A0CC7\u0022", + "Date": "Thu, 29 Apr 2021 22:50:56 GMT", + "elapsed-time": "6", + "ETag": "W/\u00220x8D90B61403A469B\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -162,8 +162,8 @@ "x-ms-client-request-id": "2b8a5705-b6c9-028d-d5ed-ee19f105dca8" }, "ResponseBody": { - "@odata.context": "https://azs-net-heathsrchtst.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D8199A561A0CC7\u0022", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", + "@odata.etag": "\u00220x8D90B61403A469B\u0022", "name": "xvdofdnf", "description": "Updated description", "type": "azureblob", @@ -172,7 +172,7 @@ "connectionString": null }, "container": { - "name": "dpeiheem", + "name": "oqsslcbl", "query": null }, "dataChangeDetectionPolicy": null, @@ -181,16 +181,16 @@ } }, { - "RequestUri": "https://azs-net-heathsrchtst.search.windows.net/datasources(\u0027xvdofdnf\u0027)?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/datasources(\u0027xvdofdnf\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "If-Match": "\u00220x8D8199A561A0CC7\u0022", - "traceparent": "00-bb1aa967b90ac44d8b25848019810a63-af6abbf76fbfd94b-00", + "If-Match": "\u00220x8D90B61403A469B\u0022", + "traceparent": "00-a98f218af603274b9f8b654d9866f235-a74be928d3956244-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.0.0-dev.20200625.1", - "(.NET Core 4.6.28928.01; Microsoft Windows 10.0.19041 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "429ee39026a252332a0e81bfacc3c589", "x-ms-return-client-request-id": "true" @@ -200,8 +200,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "429ee390-26a2-5233-2a0e-81bfacc3c589", - "Date": "Fri, 26 Jun 2020 06:29:52 GMT", - "elapsed-time": "89", + "Date": "Thu, 29 Apr 2021 22:50:56 GMT", + "elapsed-time": "43", "Expires": "-1", "Pragma": "no-cache", "request-id": "429ee390-26a2-5233-2a0e-81bfacc3c589", @@ -211,15 +211,15 @@ "ResponseBody": [] }, { - "RequestUri": "https://azs-net-heathsrchtst.search.windows.net/datasources?$select=name\u0026api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/datasources?$select=name\u0026api-version=2020-06-30-Preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-84446e4051502147b8edd7986df78bfa-158ba7c5f6159d4d-00", + "traceparent": "00-57845772a979bc4480af52b5ac3390cc-27a263a05f1b3441-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.0.0-dev.20200625.1", - "(.NET Core 4.6.28928.01; Microsoft Windows 10.0.19041 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "28e6f40adbb588fa8f9dea4c921fe7bf", "x-ms-return-client-request-id": "true" @@ -229,10 +229,10 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "28e6f40a-dbb5-88fa-8f9d-ea4c921fe7bf", - "Content-Length": "146", + "Content-Length": "136", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 26 Jun 2020 06:29:53 GMT", - "elapsed-time": "24", + "Date": "Thu, 29 Apr 2021 22:50:56 GMT", + "elapsed-time": "14", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -242,7 +242,7 @@ "x-ms-client-request-id": "28e6f40a-dbb5-88fa-8f9d-ea4c921fe7bf" }, "ResponseBody": { - "@odata.context": "https://azs-net-heathsrchtst.search.windows.net/$metadata#datasources(name)", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources(name)", "value": [ { "name": "frgsqbma" @@ -254,15 +254,15 @@ } }, { - "RequestUri": "https://azs-net-heathsrchtst.search.windows.net/indexes(\u0027algselbr\u0027)?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027yqqkkgub\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-dbe986199e916e45ad9c94116eb1c598-a669cd240b83f245-00", + "traceparent": "00-d4e29020671c2341b132a8fdaf0afd27-433767c471218a46-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.0.0-dev.20200625.1", - "(.NET Core 4.6.28928.01; Microsoft Windows 10.0.19041 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "554e484f577cdf34243701bb35cd5512", "x-ms-return-client-request-id": "true" @@ -272,8 +272,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "554e484f-577c-df34-2437-01bb35cd5512", - "Date": "Fri, 26 Jun 2020 06:29:53 GMT", - "elapsed-time": "207", + "Date": "Thu, 29 Apr 2021 22:50:56 GMT", + "elapsed-time": "156", "Expires": "-1", "Pragma": "no-cache", "request-id": "554e484f-577c-df34-2437-01bb35cd5512", @@ -284,12 +284,14 @@ } ], "Variables": { - "BlobContainerName": "dpeiheem", + "BlobContainerName": "oqsslcbl", "RandomSeed": "1095428452", - "SearchIndexName": "algselbr", + "SearchIndexName": "yqqkkgub", "SEARCH_ADMIN_API_KEY": "Sanitized", - "SEARCH_SERVICE_NAME": "azs-net-heathsrchtst", + "SEARCH_ENDPOINT_SUFFIX": null, + "SEARCH_SERVICE_NAME": "mohitc-acs", "SEARCH_STORAGE_KEY": "Sanitized", - "SEARCH_STORAGE_NAME": "heathsrchtststg" + "SEARCH_STORAGE_NAME": "mohitcsablob", + "STORAGE_ENDPOINT_SUFFIX": null } } \ No newline at end of file From 6b064e6bd31be9149a6c209aa7e3e553fa001ab6 Mon Sep 17 00:00:00 2001 From: Mohit Chakraborty Date: Tue, 11 May 2021 17:38:26 -0700 Subject: [PATCH 3/6] Revert attribute on SearchIndexerClientTests class --- .../Azure.Search.Documents/tests/Samples/Sample01_HelloWorld.cs | 2 +- .../Azure.Search.Documents/tests/SearchIndexerClientTests.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk/search/Azure.Search.Documents/tests/Samples/Sample01_HelloWorld.cs b/sdk/search/Azure.Search.Documents/tests/Samples/Sample01_HelloWorld.cs index c420c210ec40b..437d23bcf30e8 100644 --- a/sdk/search/Azure.Search.Documents/tests/Samples/Sample01_HelloWorld.cs +++ b/sdk/search/Azure.Search.Documents/tests/Samples/Sample01_HelloWorld.cs @@ -184,7 +184,7 @@ public async Task CreateIndexerAsync() Environment.GetEnvironmentVariable("SEARCH_API_KEY")); SearchIndexClient indexClient = new SearchIndexClient(endpoint, credential); #if !SNIPPET - indexClient = resources.GetIndexClient(new SearchClientOptions(SearchClientOptions.LatestVersion)); + indexClient = resources.GetIndexClient(new SearchClientOptions(ServiceVersion)); #endif // Create a synonym map from a file containing country names and abbreviations diff --git a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs index f1b0bbffe9426..f676db54c306f 100644 --- a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs @@ -13,7 +13,6 @@ namespace Azure.Search.Documents.Tests { - [ClientTestFixture(SearchClientOptions.ServiceVersion.V2020_06_30, SearchClientOptions.ServiceVersion.V2020_06_30_Preview)] public class SearchIndexerClientTests : SearchTestBase { public SearchIndexerClientTests(bool async, SearchClientOptions.ServiceVersion serviceVersion) From 127d3b41f3720a4331777da61f23cd3acc0f5df1 Mon Sep 17 00:00:00 2001 From: Mohit Chakraborty Date: Fri, 14 May 2021 13:59:26 -0700 Subject: [PATCH 4/6] Split CrudSkillet test --- .../tests/SearchIndexerClientTests.cs | 226 ++- .../HelloWorld/CreateIndexerAsyncAsync.json | 189 +- .../CrudDataSourceConnection.json | 82 +- .../CrudDataSourceConnectionAsync.json | 82 +- .../CrudSkillset.json | 72 +- .../CrudSkillsetAsync.json | 72 +- .../CrudSkillsetPreview.json | 1754 +++++++++++++++++ .../CrudSkillsetPreviewAsync.json | 1754 +++++++++++++++++ .../RoundtripAllSkills.json | 14 +- .../RoundtripAllSkillsAsync.json | 14 +- 10 files changed, 3886 insertions(+), 373 deletions(-) create mode 100644 sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreview.json create mode 100644 sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreviewAsync.json diff --git a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs index f676db54c306f..ce1e066c4de44 100644 --- a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs @@ -13,6 +13,7 @@ namespace Azure.Search.Documents.Tests { + [ClientTestFixture(SearchClientOptions.ServiceVersion.V2020_06_30, SearchClientOptions.ServiceVersion.V2020_06_30_Preview)] public class SearchIndexerClientTests : SearchTestBase { public SearchIndexerClientTests(bool async, SearchClientOptions.ServiceVersion serviceVersion) @@ -66,7 +67,7 @@ public async Task CreateAzureBlobIndexer() { await using SearchResources resources = await SearchResources.CreateWithBlobStorageAndIndexAsync(this, populate: true); - SearchIndexerClient serviceClient = resources.GetIndexerClient(); + SearchIndexerClient serviceClient = resources.GetIndexerClient(new SearchClientOptions(ServiceVersion)); // Create the Azure Blob data source and indexer. SearchIndexerDataSourceConnection dataSource = new SearchIndexerDataSourceConnection( @@ -384,6 +385,119 @@ public async Task CrudSkillset() SearchIndexerClient client = resources.GetIndexerClient(new SearchClientOptions(ServiceVersion)); string skillsetName = Recording.Random.GetName(); + SearchIndexerSkillset skillset = CreateSkillsetModel(skillsetName); + + // Create the skillset. + SearchIndexerSkillset createdSkillset = await client.CreateSkillsetAsync(skillset); + + await TestSkillsetAsync(client, skillset, createdSkillset, skillsetName); + } + + [Test] + [ServiceVersion(Min = SearchClientOptions.ServiceVersion.V2020_06_30_Preview)] + public async Task CrudSkillsetPreview() + { + await using SearchResources resources = await SearchResources.CreateWithBlobStorageAndIndexAsync(this); + + SearchIndexerClient client = resources.GetIndexerClient(new SearchClientOptions(ServiceVersion)); + string skillsetName = Recording.Random.GetName(); + + SearchIndexerSkillset skillset = CreateSkillsetModel(skillsetName); + + SearchIndexerKnowledgeStoreTableProjectionSelector table1 = new("hotelReviewsDocument") + { + GeneratedKeyName = "Documentid", + Source = "/document/tableprojection", + SourceContext = null, + }; + + SearchIndexerKnowledgeStoreTableProjectionSelector table2 = new("hotelReviewsPages") + { + GeneratedKeyName = "Pagesid", + Source = "/document/tableprojection/pages/*", + SourceContext = null, + }; + + SearchIndexerKnowledgeStoreTableProjectionSelector table3 = new("hotelReviewsKeyPhrases") + { + GeneratedKeyName = "KeyPhrasesid", + Source = "/document/tableprojection/pages/*/keyphrase/*", + SourceContext = null, + }; + + SearchIndexerKnowledgeStoreProjection projection1 = new() + { Tables = { table1, table2, table3} }; + + SearchIndexerKnowledgeStoreTableProjectionSelector table4 = new("hotelReviewsInlineDocument") + { + GeneratedKeyName = "Documentid", + Source = null, + SourceContext = "/document", + }; + table4.Inputs.Add(new("name") { Source = "/document/name", SourceContext = null }); + table4.Inputs.Add(new("reviews_date") { Source = "/document/reviews_date", SourceContext = null }); + table4.Inputs.Add(new("reviews_rating") { Source = "/document/reviews_rating", SourceContext = null }); + table4.Inputs.Add(new("reviews_text") { Source = "/document/reviews_text", SourceContext = null }); + table4.Inputs.Add(new("reviews_title") { Source = "/document/reviews_title", SourceContext = null }); + table4.Inputs.Add(new("AzureSearch_DocumentKey") { Source = "/document/AzureSearch_DocumentKey", SourceContext = null }); + + SearchIndexerKnowledgeStoreTableProjectionSelector table5 = new("hotelReviewsInlinePages") + { + GeneratedKeyName = "Pagesid", + Source = null, + SourceContext = "/document/reviews_text/pages/*", + }; + table5.Inputs.Add(new("SentimentScore") { Source = "/document/reviews_text/pages/*/Sentiment", SourceContext = null }); + table5.Inputs.Add(new("LanguageCode") { Source = "/document/Language", SourceContext = null }); + table5.Inputs.Add(new("Page") { Source = "/document/reviews_text/pages/*", SourceContext = null }); + + SearchIndexerKnowledgeStoreTableProjectionSelector table6 = new("hotelReviewsInlineKeyPhrases") + { + GeneratedKeyName = "kpidv2", + Source = null, + SourceContext = "/document/reviews_text/pages/*/Keyphrases/*", + }; + table6.Inputs.Add(new("Keyphrases") { Source = "/document/reviews_text/pages/*/Keyphrases/*", SourceContext = null }); + + SearchIndexerKnowledgeStoreProjection projection2 = new() + { Tables = { table4, table5, table6 } }; + + List projections = new() { projection1, projection2 }; + skillset.KnowledgeStore = new SearchIndexerKnowledgeStore(resources.StorageAccountConnectionString, projections); + + // Create the skillset. + SearchIndexerSkillset createdSkillset = await client.CreateSkillsetAsync(skillset); + + // Check the projections in the knowledge store of the skillset. + Assert.AreEqual(2, createdSkillset.KnowledgeStore.Projections.Count); + + SearchIndexerKnowledgeStoreProjection p1 = createdSkillset.KnowledgeStore.Projections[0]; + Assert.AreEqual(3, p1.Tables.Count); + Assert.AreEqual("hotelReviewsDocument", p1.Tables[0].TableName); + Assert.AreEqual(0, p1.Tables[0].Inputs.Count); + Assert.AreEqual("hotelReviewsPages", p1.Tables[1].TableName); + Assert.AreEqual(0, p1.Tables[1].Inputs.Count); + Assert.AreEqual("hotelReviewsKeyPhrases", p1.Tables[2].TableName); + Assert.AreEqual(0, p1.Tables[2].Inputs.Count); + Assert.AreEqual(0, p1.Objects.Count); + Assert.AreEqual(0, p1.Files.Count); + + SearchIndexerKnowledgeStoreProjection p2 = createdSkillset.KnowledgeStore.Projections[1]; + Assert.AreEqual(3, p2.Tables.Count); + Assert.AreEqual("hotelReviewsInlineDocument", p2.Tables[0].TableName); + Assert.AreEqual(6, p2.Tables[0].Inputs.Count); + Assert.AreEqual("hotelReviewsInlinePages", p2.Tables[1].TableName); + Assert.AreEqual(3, p2.Tables[1].Inputs.Count); + Assert.AreEqual("hotelReviewsInlineKeyPhrases", p2.Tables[2].TableName); + Assert.AreEqual(1, p2.Tables[2].Inputs.Count); + Assert.AreEqual(0, p2.Objects.Count); + Assert.AreEqual(0, p2.Files.Count); + + await TestSkillsetAsync(client, skillset, createdSkillset, skillsetName); + } + + private SearchIndexerSkillset CreateSkillsetModel(string skillsetName) + { // Skills based on https://github.com/Azure-Samples/azure-search-sample-data/blob/master/hotelreviews/HotelReviews_skillset.json. SearchIndexerSkill skill1 = new SplitSkill( new[] @@ -486,77 +600,11 @@ public async Task CrudSkillset() CognitiveServicesAccount = new DefaultCognitiveServicesAccount(), }; - if (ServiceVersion == SearchClientOptions.ServiceVersion.V2020_06_30_Preview) - { - SearchIndexerKnowledgeStoreTableProjectionSelector table1 = new("hotelReviewsDocument") - { - GeneratedKeyName = "Documentid", - Source = "/document/tableprojection", - SourceContext = null, - }; - - SearchIndexerKnowledgeStoreTableProjectionSelector table2 = new("hotelReviewsPages") - { - GeneratedKeyName = "Pagesid", - Source = "/document/tableprojection/pages/*", - SourceContext = null, - }; - - SearchIndexerKnowledgeStoreTableProjectionSelector table3 = new("hotelReviewsKeyPhrases") - { - GeneratedKeyName = "KeyPhrasesid", - Source = "/document/tableprojection/pages/*/keyphrase/*", - SourceContext = null, - }; - - SearchIndexerKnowledgeStoreProjection projection1 = new(); - projection1.Tables.Add(table1); - projection1.Tables.Add(table2); - projection1.Tables.Add(table3); - - SearchIndexerKnowledgeStoreTableProjectionSelector table4 = new("hotelReviewsInlineDocument") - { - GeneratedKeyName = "Documentid", - Source = null, - SourceContext = "/document", - }; - table4.Inputs.Add(new("name") { Source = "/document/name", SourceContext = null }); - table4.Inputs.Add(new("reviews_date") { Source = "/document/reviews_date", SourceContext = null }); - table4.Inputs.Add(new("reviews_rating") { Source = "/document/reviews_rating", SourceContext = null }); - table4.Inputs.Add(new("reviews_text") { Source = "/document/reviews_text", SourceContext = null }); - table4.Inputs.Add(new("reviews_title") { Source = "/document/reviews_title", SourceContext = null }); - table4.Inputs.Add(new("AzureSearch_DocumentKey") { Source = "/document/AzureSearch_DocumentKey", SourceContext = null }); - - SearchIndexerKnowledgeStoreTableProjectionSelector table5 = new("hotelReviewsInlinePages") - { - GeneratedKeyName = "Pagesid", - Source = null, - SourceContext = "/document/reviews_text/pages/*", - }; - table5.Inputs.Add(new("SentimentScore") { Source = "/document/reviews_text/pages/*/Sentiment", SourceContext = null }); - table5.Inputs.Add(new("LanguageCode") { Source = "/document/Language", SourceContext = null }); - table5.Inputs.Add(new("Page") { Source = "/document/reviews_text/pages/*", SourceContext = null }); - - SearchIndexerKnowledgeStoreTableProjectionSelector table6 = new("hotelReviewsInlineKeyPhrases") - { - GeneratedKeyName = "kpidv2", - Source = null, - SourceContext = "/document/reviews_text/pages/*/Keyphrases/*", - }; - table6.Inputs.Add(new("Keyphrases") { Source = "/document/reviews_text/pages/*/Keyphrases/*", SourceContext = null }); - - SearchIndexerKnowledgeStoreProjection projection2 = new(); - projection2.Tables.Add(table4); - projection2.Tables.Add(table5); - projection2.Tables.Add(table6); - - List projections = new() { projection1, projection2 }; - skillset.KnowledgeStore = new SearchIndexerKnowledgeStore(resources.StorageAccountConnectionString, projections); - } - - // Create the skillset. - SearchIndexerSkillset createdSkillset = await client.CreateSkillsetAsync(skillset); + return skillset; + } + private async Task TestSkillsetAsync(SearchIndexerClient client, SearchIndexerSkillset skillset, SearchIndexerSkillset createdSkillset, string skillsetName) + { try { Assert.That(createdSkillset, Is.EqualTo(skillset).Using(SearchIndexerSkillsetComparer.Shared)); @@ -574,34 +622,6 @@ public async Task CrudSkillset() Assert.That(skillset, Is.EqualTo(updatedSkillset).Using(SearchIndexerSkillsetComparer.Shared)); Assert.AreEqual(updatedSkillset.ETag, skillset.ETag); - if (ServiceVersion == SearchClientOptions.ServiceVersion.V2020_06_30_Preview) - { - // Check the projections in the knowledge store of the skillset. - Assert.AreEqual(2, skillset.KnowledgeStore.Projections.Count); - - SearchIndexerKnowledgeStoreProjection p1 = skillset.KnowledgeStore.Projections[0]; - Assert.AreEqual(3, p1.Tables.Count); - Assert.AreEqual("hotelReviewsDocument", p1.Tables[0].TableName); - Assert.AreEqual(0, p1.Tables[0].Inputs.Count); - Assert.AreEqual("hotelReviewsPages", p1.Tables[1].TableName); - Assert.AreEqual(0, p1.Tables[1].Inputs.Count); - Assert.AreEqual("hotelReviewsKeyPhrases", p1.Tables[2].TableName); - Assert.AreEqual(0, p1.Tables[2].Inputs.Count); - Assert.AreEqual(0, p1.Objects.Count); - Assert.AreEqual(0, p1.Files.Count); - - SearchIndexerKnowledgeStoreProjection p2 = skillset.KnowledgeStore.Projections[1]; - Assert.AreEqual(3, p2.Tables.Count); - Assert.AreEqual("hotelReviewsInlineDocument", p2.Tables[0].TableName); - Assert.AreEqual(6, p2.Tables[0].Inputs.Count); - Assert.AreEqual("hotelReviewsInlinePages", p2.Tables[1].TableName); - Assert.AreEqual(3, p2.Tables[1].Inputs.Count); - Assert.AreEqual("hotelReviewsInlineKeyPhrases", p2.Tables[2].TableName); - Assert.AreEqual(1, p2.Tables[2].Inputs.Count); - Assert.AreEqual(0, p2.Objects.Count); - Assert.AreEqual(0, p2.Files.Count); - } - // Delete the skillset. await client.DeleteSkillsetAsync(skillset, onlyIfUnchanged: true); @@ -632,7 +652,7 @@ public async Task RoundtripAllSkills() // Enumerate all skills and create them with consistently fake input to test for nullability during deserialization. SearchIndexerSkill CreateSkill(Type t, string[] inputNames, string[] outputNames) { - var inputs = inputNames.Select(input => new InputFieldMappingEntry(input) { Source = "/document/content" } ).ToList(); + var inputs = inputNames.Select(input => new InputFieldMappingEntry(input) { Source = "/document/content" }).ToList(); var outputs = outputNames.Select(output => new OutputFieldMappingEntry(output, targetName: Recording.Random.GetName())).ToList(); return t switch @@ -673,13 +693,9 @@ SearchIndexerSkill CreateSkill(Type t, string[] inputNames, string[] outputNames SearchIndexerSkillset specifiedSkillset = new SearchIndexerSkillset(skillsetName, skills) { CognitiveServicesAccount = new DefaultCognitiveServicesAccount(), + KnowledgeStore = new SearchIndexerKnowledgeStore(resources.StorageAccountConnectionString, new List()) }; - if (ServiceVersion == SearchClientOptions.ServiceVersion.V2020_06_30_Preview) - { - specifiedSkillset.KnowledgeStore = new SearchIndexerKnowledgeStore(resources.StorageAccountConnectionString, new List()); - } - try { SearchIndexerSkillset createdSkillset = await client.CreateSkillsetAsync(specifiedSkillset); diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/HelloWorld/CreateIndexerAsyncAsync.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/HelloWorld/CreateIndexerAsyncAsync.json index 8d600189ac68f..df52c5b0ff3a3 100644 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/HelloWorld/CreateIndexerAsyncAsync.json +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/HelloWorld/CreateIndexerAsyncAsync.json @@ -1,17 +1,17 @@ { "Entries": [ { - "RequestUri": "https://mohitc-acs.search.windows.net/synonymmaps?api-version=2020-06-30-Preview", + "RequestUri": "https://mohitc-acs.search.windows.net/synonymmaps?api-version=2020-06-30", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", "Content-Length": "5201", "Content-Type": "application/json", - "traceparent": "00-365f213b2d48dd42b925616d16b8c81c-274a073d9a158e4b-00", + "traceparent": "00-b0f1b5cb1d3f5d4594e924e9b302f0a2-f25d96b1d012284f-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "736a681f3427c94a05ac6bd1d810826b", "x-ms-return-client-request-id": "true" @@ -27,11 +27,11 @@ "client-request-id": "736a681f-3427-c94a-05ac-6bd1d810826b", "Content-Length": "5332", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:47:47 GMT", - "elapsed-time": "48", - "ETag": "W/\u00220x8D90A97A4D386FE\u0022", + "Date": "Fri, 14 May 2021 20:51:08 GMT", + "elapsed-time": "93", + "ETag": "W/\u00220x8D9171A000D8571\u0022", "Expires": "-1", - "Location": "https://mohitc-acs.search.windows.net/synonymmaps(\u0027yjlkevvv\u0027)?api-version=2020-06-30-Preview", + "Location": "https://mohitc-acs.search.windows.net/synonymmaps(\u0027yjlkevvv\u0027)?api-version=2020-06-30", "OData-Version": "4.0", "Pragma": "no-cache", "Preference-Applied": "odata.include-annotations=\u0022*\u0022", @@ -39,20 +39,20 @@ "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "x-ms-client-request-id": "736a681f-3427-c94a-05ac-6bd1d810826b" }, - "ResponseBody": "{\u0022@odata.context\u0022:\u0022https://mohitc-acs.search.windows.net/$metadata#synonymmaps/$entity\u0022,\u0022@odata.etag\u0022:\u0022\\\u00220x8D90A97A4D386FE\\\u0022\u0022,\u0022name\u0022:\u0022yjlkevvv\u0022,\u0022format\u0022:\u0022solr\u0022,\u0022synonyms\u0022:\u0022Afghanistan,AF,AFG\\n\\u00c5land Islands,AX,ALA\\nAlbania,AL,ALB\\nAlgeria,DZ,DZA\\nAmerican Samoa,AS,ASM\\nAndorra,AD,AND\\nAngola,AO,AGO\\nAnguilla,AI,AIA\\nAntarctica,AQ,ATA\\nAntigua and Barbuda,AG,ATG\\nArgentina,AR,ARG\\nArmenia,AM,ARM\\nAruba,AW,ABW\\nAustralia,AU,AUS\\nAustria,AT,AUT\\nAzerbaijan,AZ,AZE\\nBahamas,BS,BHS\\nBahrain,BH,BHR\\nBangladesh,BD,BGD\\nBarbados,BB,BRB\\nBelarus,BY,BLR\\nBelgium,BE,BEL\\nBelize,BZ,BLZ\\nBenin,BJ,BEN\\nBermuda,BM,BMU\\nBhutan,BT,BTN\\nBolivia,Plurinational State of Bolivia,BO,BOL\\nBonaire,Sint Eustatius and Saba,BQ,BES\\nBosnia and Herzegovina,BA,BIH\\nBotswana,BW,BWA\\nBouvet Island,BV,BVT\\nBrazil,BR,BRA\\nBritish Indian Ocean Territory,IO,IOT\\nBrunei Darussalam,BN,BRN\\nBulgaria,BG,BGR\\nBurkina Faso,BF,BFA\\nBurundi,BI,BDI\\nCabo Verde,CV,CPV\\nCambodia,KH,KHM\\nCameroon,CM,CMR\\nCanada,CA,CAN\\nCayman Islands,KY,CYM\\nCentral African Republic,CF,CAF\\nChad,TD,TCD\\nChile,CL,CHL\\nChina,CN,CHN\\nChristmas Island,CX,CXR\\nCocos (Keeling) Islands,CC,CCK\\nColombia,CO,COL\\nComoros,KM,COM\\nCongo,CG,COG\\nDemocratic Republic of the Congo,CD,COD\\nCook Islands,CK,COK\\nCosta Rica,CR,CRI\\nC\\u00f4te d\u0027Ivoire,CI,CIV\\nCroatia,HR,HRV\\nCuba,CU,CUB\\nCura\\u00e7ao,CW,CUW\\nCyprus,CY,CYP\\nCzechia,CZ,CZE\\nDenmark,DK,DNK\\nDjibouti,DJ,DJI\\nDominica,DM,DMA\\nDominican Republic,DO,DOM\\nEcuador,EC,ECU\\nEgypt,EG,EGY\\nEl Salvador,SV,SLV\\nEquatorial Guinea,GQ,GNQ\\nEritrea,ER,ERI\\nEstonia,EE,EST\\nEswatini,SZ,SWZ\\nEthiopia,ET,ETH\\nFalkland Islands (Malvinas),FK,FLK\\nFaroe Islands,FO,FRO\\nFiji,FJ,FJI\\nFinland,FI,FIN\\nFrance,FR,FRA\\nFrench Guiana,GF,GUF\\nFrench Polynesia,PF,PYF\\nFrench Southern Territories,TF,ATF\\nGabon,GA,GAB\\nGambia,GM,GMB\\nGeorgia,GE,GEO\\nGermany,DE,DEU\\nGhana,GH,GHA\\nGibraltar,GI,GIB\\nGreece,GR,GRC\\nGreenland,GL,GRL\\nGrenada,GD,GRD\\nGuadeloupe,GP,GLP\\nGuam,GU,GUM\\nGuatemala,GT,GTM\\nGuernsey,GG,GGY\\nGuinea,GN,GIN\\nGuinea-Bissau,GW,GNB\\nGuyana,GY,GUY\\nHaiti,HT,HTI\\nHeard Island and McDonald Islands,HM,HMD\\nHoly See,VA,VAT\\nHonduras,HN,HND\\nHong Kong,HK,HKG\\nHungary,HU,HUN\\nIceland,IS,ISL\\nIndia,IN,IND\\nIndonesia,ID,IDN\\nIran,Islamic Republic of Iran,IR,IRN\\nIraq,IQ,IRQ\\nIreland,IE,IRL\\nIsle of Man,IM,IMN\\nIsrael,IL,ISR\\nItaly,IT,ITA\\nJamaica,JM,JAM\\nJapan,JP,JPN\\nJersey,JE,JEY\\nJordan,JO,JOR\\nKazakhstan,KZ,KAZ\\nKenya,KE,KEN\\nKiribati,KI,KIR\\nDemocratic People\u0027s Republic of Korea,KP,PRK\\nKorea,Republic of Korea,KR,KOR\\nKuwait,KW,KWT\\nKyrgyzstan,KG,KGZ\\nLao People\u0027s Democratic Republic,LA,LAO\\nLatvia,LV,LVA\\nLebanon,LB,LBN\\nLesotho,LS,LSO\\nLiberia,LR,LBR\\nLibya,LY,LBY\\nLiechtenstein,LI,LIE\\nLithuania,LT,LTU\\nLuxembourg,LU,LUX\\nMacao,MO,MAC\\nMadagascar,MG,MDG\\nMalawi,MW,MWI\\nMalaysia,MY,MYS\\nMaldives,MV,MDV\\nMali,ML,MLI\\nMalta,MT,MLT\\nMarshall Islands,MH,MHL\\nMartinique,MQ,MTQ\\nMauritania,MR,MRT\\nMauritius,MU,MUS\\nMayotte,YT,MYT\\nMexico,MX,MEX\\nMicronesia,Federated States of Micronesia,FM,FSM\\nMoldova,Republic of Moldova,MD,MDA\\nMonaco,MC,MCO\\nMongolia,MN,MNG\\nMontenegro,ME,MNE\\nMontserrat,MS,MSR\\nMorocco,MA,MAR\\nMozambique,MZ,MOZ\\nMyanmar,MM,MMR\\nNamibia,NA,NAM\\nNauru,NR,NRU\\nNepal,NP,NPL\\nNetherlands,NL,NLD\\nNew Caledonia,NC,NCL\\nNew Zealand,NZ,NZL\\nNicaragua,NI,NIC\\nNiger,NE,NER\\nNigeria,NG,NGA\\nNiue,NU,NIU\\nNorfolk Island,NF,NFK\\nNorth Macedonia,MK,MKD\\nNorthern Mariana Islands,MP,MNP\\nNorway,NO,NOR\\nOman,OM,OMN\\nPakistan,PK,PAK\\nPalau,PW,PLW\\nPalestine,State of Palestine,PS,PSE\\nPanama,PA,PAN\\nPapua New Guinea,PG,PNG\\nParaguay,PY,PRY\\nPeru,PE,PER\\nPhilippines,PH,PHL\\nPitcairn,PN,PCN\\nPoland,PL,POL\\nPortugal,PT,PRT\\nPuerto Rico,PR,PRI\\nQatar,QA,QAT\\nR\\u00e9union,RE,REU\\nRomania,RO,ROU\\nRussia,Russian Federation,RU,RUS\\nRwanda,RW,RWA\\nSaint Barth\\u00e9lemy,BL,BLM\\nSaint Helena,Ascension and Tristan da Cunha,SH,SHN\\nSaint Kitts and Nevis,KN,KNA\\nSaint Lucia,LC,LCA\\nSaint Martin (French part),MF,MAF\\nSaint Pierre and Miquelon,PM,SPM\\nSaint Vincent and the Grenadines,VC,VCT\\nSamoa,WS,WSM\\nSan Marino,SM,SMR\\nSao Tome and Principe,ST,STP\\nSaudi Arabia,SA,SAU\\nSenegal,SN,SEN\\nSerbia,RS,SRB\\nSeychelles,SC,SYC\\nSierra Leone,SL,SLE\\nSingapore,SG,SGP\\nSint Maarten (Dutch part),SX,SXM\\nSlovakia,SK,SVK\\nSlovenia,SI,SVN\\nSolomon Islands,SB,SLB\\nSomalia,SO,SOM\\nSouth Africa,ZA,ZAF\\nSouth Georgia and the South Sandwich Islands,GS,SGS\\nSouth Sudan,SS,SSD\\nSpain,ES,ESP\\nSri Lanka,LK,LKA\\nSudan,SD,SDN\\nSuriname,SR,SUR\\nSvalbard and Jan Mayen,SJ,SJM\\nSweden,SE,SWE\\nSwitzerland,CH,CHE\\nSyrian Arab Republic,SY,SYR\\nTaiwan,Province of China,TW,TWN\\nTajikistan,TJ,TJK\\nTanzania,United Republic of Tanzania,TZ,TZA\\nThailand,TH,THA\\nTimor-Leste,TL,TLS\\nTogo,TG,TGO\\nTokelau,TK,TKL\\nTonga,TO,TON\\nTrinidad and Tobago,TT,TTO\\nTunisia,TN,TUN\\nTurkey,TR,TUR\\nTurkmenistan,TM,TKM\\nTurks and Caicos Islands,TC,TCA\\nTuvalu,TV,TUV\\nUganda,UG,UGA\\nUkraine,UA,UKR\\nUnited Arab Emirates,AE,ARE\\nUnited Kingdom of Great Britain and Northern Ireland,GB,GBR\\nUnited States of America,US,USA\\nUnited States Minor Outlying Islands,UM,UMI\\nUruguay,UY,URY\\nUzbekistan,UZ,UZB\\nVanuatu,VU,VUT\\nVenezuela (Bolivarian Republic of),VE,VEN\\nViet Nam,VN,VNM\\nVirgin Islands (British),VG,VGB\\nVirgin Islands (U.S.),VI,VIR\\nWallis and Futuna,WF,WLF\\nWestern Sahara,EH,ESH\\nYemen,YE,YEM\\nZambia,ZM,ZMB\\nZimbabwe,ZW,ZWE\\n\u0022,\u0022encryptionKey\u0022:null}" + "ResponseBody": "{\u0022@odata.context\u0022:\u0022https://mohitc-acs.search.windows.net/$metadata#synonymmaps/$entity\u0022,\u0022@odata.etag\u0022:\u0022\\\u00220x8D9171A000D8571\\\u0022\u0022,\u0022name\u0022:\u0022yjlkevvv\u0022,\u0022format\u0022:\u0022solr\u0022,\u0022synonyms\u0022:\u0022Afghanistan,AF,AFG\\n\\u00c5land Islands,AX,ALA\\nAlbania,AL,ALB\\nAlgeria,DZ,DZA\\nAmerican Samoa,AS,ASM\\nAndorra,AD,AND\\nAngola,AO,AGO\\nAnguilla,AI,AIA\\nAntarctica,AQ,ATA\\nAntigua and Barbuda,AG,ATG\\nArgentina,AR,ARG\\nArmenia,AM,ARM\\nAruba,AW,ABW\\nAustralia,AU,AUS\\nAustria,AT,AUT\\nAzerbaijan,AZ,AZE\\nBahamas,BS,BHS\\nBahrain,BH,BHR\\nBangladesh,BD,BGD\\nBarbados,BB,BRB\\nBelarus,BY,BLR\\nBelgium,BE,BEL\\nBelize,BZ,BLZ\\nBenin,BJ,BEN\\nBermuda,BM,BMU\\nBhutan,BT,BTN\\nBolivia,Plurinational State of Bolivia,BO,BOL\\nBonaire,Sint Eustatius and Saba,BQ,BES\\nBosnia and Herzegovina,BA,BIH\\nBotswana,BW,BWA\\nBouvet Island,BV,BVT\\nBrazil,BR,BRA\\nBritish Indian Ocean Territory,IO,IOT\\nBrunei Darussalam,BN,BRN\\nBulgaria,BG,BGR\\nBurkina Faso,BF,BFA\\nBurundi,BI,BDI\\nCabo Verde,CV,CPV\\nCambodia,KH,KHM\\nCameroon,CM,CMR\\nCanada,CA,CAN\\nCayman Islands,KY,CYM\\nCentral African Republic,CF,CAF\\nChad,TD,TCD\\nChile,CL,CHL\\nChina,CN,CHN\\nChristmas Island,CX,CXR\\nCocos (Keeling) Islands,CC,CCK\\nColombia,CO,COL\\nComoros,KM,COM\\nCongo,CG,COG\\nDemocratic Republic of the Congo,CD,COD\\nCook Islands,CK,COK\\nCosta Rica,CR,CRI\\nC\\u00f4te d\u0027Ivoire,CI,CIV\\nCroatia,HR,HRV\\nCuba,CU,CUB\\nCura\\u00e7ao,CW,CUW\\nCyprus,CY,CYP\\nCzechia,CZ,CZE\\nDenmark,DK,DNK\\nDjibouti,DJ,DJI\\nDominica,DM,DMA\\nDominican Republic,DO,DOM\\nEcuador,EC,ECU\\nEgypt,EG,EGY\\nEl Salvador,SV,SLV\\nEquatorial Guinea,GQ,GNQ\\nEritrea,ER,ERI\\nEstonia,EE,EST\\nEswatini,SZ,SWZ\\nEthiopia,ET,ETH\\nFalkland Islands (Malvinas),FK,FLK\\nFaroe Islands,FO,FRO\\nFiji,FJ,FJI\\nFinland,FI,FIN\\nFrance,FR,FRA\\nFrench Guiana,GF,GUF\\nFrench Polynesia,PF,PYF\\nFrench Southern Territories,TF,ATF\\nGabon,GA,GAB\\nGambia,GM,GMB\\nGeorgia,GE,GEO\\nGermany,DE,DEU\\nGhana,GH,GHA\\nGibraltar,GI,GIB\\nGreece,GR,GRC\\nGreenland,GL,GRL\\nGrenada,GD,GRD\\nGuadeloupe,GP,GLP\\nGuam,GU,GUM\\nGuatemala,GT,GTM\\nGuernsey,GG,GGY\\nGuinea,GN,GIN\\nGuinea-Bissau,GW,GNB\\nGuyana,GY,GUY\\nHaiti,HT,HTI\\nHeard Island and McDonald Islands,HM,HMD\\nHoly See,VA,VAT\\nHonduras,HN,HND\\nHong Kong,HK,HKG\\nHungary,HU,HUN\\nIceland,IS,ISL\\nIndia,IN,IND\\nIndonesia,ID,IDN\\nIran,Islamic Republic of Iran,IR,IRN\\nIraq,IQ,IRQ\\nIreland,IE,IRL\\nIsle of Man,IM,IMN\\nIsrael,IL,ISR\\nItaly,IT,ITA\\nJamaica,JM,JAM\\nJapan,JP,JPN\\nJersey,JE,JEY\\nJordan,JO,JOR\\nKazakhstan,KZ,KAZ\\nKenya,KE,KEN\\nKiribati,KI,KIR\\nDemocratic People\u0027s Republic of Korea,KP,PRK\\nKorea,Republic of Korea,KR,KOR\\nKuwait,KW,KWT\\nKyrgyzstan,KG,KGZ\\nLao People\u0027s Democratic Republic,LA,LAO\\nLatvia,LV,LVA\\nLebanon,LB,LBN\\nLesotho,LS,LSO\\nLiberia,LR,LBR\\nLibya,LY,LBY\\nLiechtenstein,LI,LIE\\nLithuania,LT,LTU\\nLuxembourg,LU,LUX\\nMacao,MO,MAC\\nMadagascar,MG,MDG\\nMalawi,MW,MWI\\nMalaysia,MY,MYS\\nMaldives,MV,MDV\\nMali,ML,MLI\\nMalta,MT,MLT\\nMarshall Islands,MH,MHL\\nMartinique,MQ,MTQ\\nMauritania,MR,MRT\\nMauritius,MU,MUS\\nMayotte,YT,MYT\\nMexico,MX,MEX\\nMicronesia,Federated States of Micronesia,FM,FSM\\nMoldova,Republic of Moldova,MD,MDA\\nMonaco,MC,MCO\\nMongolia,MN,MNG\\nMontenegro,ME,MNE\\nMontserrat,MS,MSR\\nMorocco,MA,MAR\\nMozambique,MZ,MOZ\\nMyanmar,MM,MMR\\nNamibia,NA,NAM\\nNauru,NR,NRU\\nNepal,NP,NPL\\nNetherlands,NL,NLD\\nNew Caledonia,NC,NCL\\nNew Zealand,NZ,NZL\\nNicaragua,NI,NIC\\nNiger,NE,NER\\nNigeria,NG,NGA\\nNiue,NU,NIU\\nNorfolk Island,NF,NFK\\nNorth Macedonia,MK,MKD\\nNorthern Mariana Islands,MP,MNP\\nNorway,NO,NOR\\nOman,OM,OMN\\nPakistan,PK,PAK\\nPalau,PW,PLW\\nPalestine,State of Palestine,PS,PSE\\nPanama,PA,PAN\\nPapua New Guinea,PG,PNG\\nParaguay,PY,PRY\\nPeru,PE,PER\\nPhilippines,PH,PHL\\nPitcairn,PN,PCN\\nPoland,PL,POL\\nPortugal,PT,PRT\\nPuerto Rico,PR,PRI\\nQatar,QA,QAT\\nR\\u00e9union,RE,REU\\nRomania,RO,ROU\\nRussia,Russian Federation,RU,RUS\\nRwanda,RW,RWA\\nSaint Barth\\u00e9lemy,BL,BLM\\nSaint Helena,Ascension and Tristan da Cunha,SH,SHN\\nSaint Kitts and Nevis,KN,KNA\\nSaint Lucia,LC,LCA\\nSaint Martin (French part),MF,MAF\\nSaint Pierre and Miquelon,PM,SPM\\nSaint Vincent and the Grenadines,VC,VCT\\nSamoa,WS,WSM\\nSan Marino,SM,SMR\\nSao Tome and Principe,ST,STP\\nSaudi Arabia,SA,SAU\\nSenegal,SN,SEN\\nSerbia,RS,SRB\\nSeychelles,SC,SYC\\nSierra Leone,SL,SLE\\nSingapore,SG,SGP\\nSint Maarten (Dutch part),SX,SXM\\nSlovakia,SK,SVK\\nSlovenia,SI,SVN\\nSolomon Islands,SB,SLB\\nSomalia,SO,SOM\\nSouth Africa,ZA,ZAF\\nSouth Georgia and the South Sandwich Islands,GS,SGS\\nSouth Sudan,SS,SSD\\nSpain,ES,ESP\\nSri Lanka,LK,LKA\\nSudan,SD,SDN\\nSuriname,SR,SUR\\nSvalbard and Jan Mayen,SJ,SJM\\nSweden,SE,SWE\\nSwitzerland,CH,CHE\\nSyrian Arab Republic,SY,SYR\\nTaiwan,Province of China,TW,TWN\\nTajikistan,TJ,TJK\\nTanzania,United Republic of Tanzania,TZ,TZA\\nThailand,TH,THA\\nTimor-Leste,TL,TLS\\nTogo,TG,TGO\\nTokelau,TK,TKL\\nTonga,TO,TON\\nTrinidad and Tobago,TT,TTO\\nTunisia,TN,TUN\\nTurkey,TR,TUR\\nTurkmenistan,TM,TKM\\nTurks and Caicos Islands,TC,TCA\\nTuvalu,TV,TUV\\nUganda,UG,UGA\\nUkraine,UA,UKR\\nUnited Arab Emirates,AE,ARE\\nUnited Kingdom of Great Britain and Northern Ireland,GB,GBR\\nUnited States of America,US,USA\\nUnited States Minor Outlying Islands,UM,UMI\\nUruguay,UY,URY\\nUzbekistan,UZ,UZB\\nVanuatu,VU,VUT\\nVenezuela (Bolivarian Republic of),VE,VEN\\nViet Nam,VN,VNM\\nVirgin Islands (British),VG,VGB\\nVirgin Islands (U.S.),VI,VIR\\nWallis and Futuna,WF,WLF\\nWestern Sahara,EH,ESH\\nYemen,YE,YEM\\nZambia,ZM,ZMB\\nZimbabwe,ZW,ZWE\\n\u0022,\u0022encryptionKey\u0022:null}" }, { - "RequestUri": "https://mohitc-acs.search.windows.net/indexes?api-version=2020-06-30-Preview", + "RequestUri": "https://mohitc-acs.search.windows.net/indexes?api-version=2020-06-30", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", "Content-Length": "1593", "Content-Type": "application/json", - "traceparent": "00-2efcafc9f195d446923c549953123a36-effb506d24c8bf4e-00", + "traceparent": "00-843c782835ab89469c8265aebf36ed14-283645f45493e547-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "29cc6bfc8a7936ff705a7e8d11c9ba9e", "x-ms-return-client-request-id": "true" @@ -177,13 +177,13 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "29cc6bfc-8a79-36ff-705a-7e8d11c9ba9e", - "Content-Length": "2883", + "Content-Length": "2686", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:47:47 GMT", - "elapsed-time": "606", - "ETag": "W/\u00220x8D90A97A53826FB\u0022", + "Date": "Fri, 14 May 2021 20:51:10 GMT", + "elapsed-time": "1289", + "ETag": "W/\u00220x8D9171A00DDF3B8\u0022", "Expires": "-1", - "Location": "https://mohitc-acs.search.windows.net/indexes(\u0027fgsbkgip\u0027)?api-version=2020-06-30-Preview", + "Location": "https://mohitc-acs.search.windows.net/indexes(\u0027fgsbkgip\u0027)?api-version=2020-06-30", "OData-Version": "4.0", "Pragma": "no-cache", "Preference-Applied": "odata.include-annotations=\u0022*\u0022", @@ -193,7 +193,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#indexes/$entity", - "@odata.etag": "\u00220x8D90A97A53826FB\u0022", + "@odata.etag": "\u00220x8D9171A00DDF3B8\u0022", "name": "fgsbkgip", "defaultScoringProfile": null, "fields": [ @@ -209,7 +209,6 @@ "indexAnalyzer": null, "searchAnalyzer": null, "analyzer": null, - "normalizer": null, "synonymMaps": [] }, { @@ -224,7 +223,6 @@ "indexAnalyzer": null, "searchAnalyzer": null, "analyzer": null, - "normalizer": null, "synonymMaps": [] }, { @@ -239,7 +237,6 @@ "indexAnalyzer": null, "searchAnalyzer": null, "analyzer": "en.lucene", - "normalizer": null, "synonymMaps": [] }, { @@ -254,7 +251,6 @@ "indexAnalyzer": null, "searchAnalyzer": null, "analyzer": "fr.lucene", - "normalizer": null, "synonymMaps": [] }, { @@ -269,7 +265,6 @@ "indexAnalyzer": null, "searchAnalyzer": null, "analyzer": null, - "normalizer": null, "synonymMaps": [] }, { @@ -288,7 +283,6 @@ "indexAnalyzer": null, "searchAnalyzer": null, "analyzer": null, - "normalizer": null, "synonymMaps": [] }, { @@ -303,7 +297,6 @@ "indexAnalyzer": null, "searchAnalyzer": null, "analyzer": null, - "normalizer": null, "synonymMaps": [] }, { @@ -318,7 +311,6 @@ "indexAnalyzer": null, "searchAnalyzer": null, "analyzer": null, - "normalizer": null, "synonymMaps": [] }, { @@ -333,7 +325,6 @@ "indexAnalyzer": null, "searchAnalyzer": null, "analyzer": null, - "normalizer": null, "synonymMaps": [ "yjlkevvv" ] @@ -350,7 +341,6 @@ "indexAnalyzer": null, "searchAnalyzer": null, "analyzer": null, - "normalizer": null, "synonymMaps": [] } ] @@ -360,7 +350,6 @@ "corsOptions": null, "suggesters": [], "analyzers": [], - "normalizers": [], "tokenizers": [], "tokenFilters": [], "charFilters": [], @@ -380,10 +369,10 @@ "api-key": "Sanitized", "Content-Length": "216", "Content-Type": "application/json", - "traceparent": "00-bb3fcdab69988f47bd6d09025ad9918e-80ee550567ab3e47-00", + "traceparent": "00-c80e3902ad215b45b01a91e5bc2cce68-b5b1b3950b48484d-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "1e31e9c53621254d806c77bb6721507a", "x-ms-return-client-request-id": "true" @@ -395,7 +384,7 @@ "connectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net" }, "container": { - "name": "sdplyrvx" + "name": "podjlinb" } }, "StatusCode": 201, @@ -404,9 +393,9 @@ "client-request-id": "1e31e9c5-3621-254d-806c-77bb6721507a", "Content-Length": "371", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:47:47 GMT", - "elapsed-time": "61", - "ETag": "W/\u00220x8D90A97A54A79B0\u0022", + "Date": "Fri, 14 May 2021 20:51:10 GMT", + "elapsed-time": "126", + "ETag": "W/\u00220x8D9171A0109515A\u0022", "Expires": "-1", "Location": "https://mohitc-acs.search.windows.net/datasources(\u0027ofgjbglc\u0027)?api-version=2020-06-30", "OData-Version": "4.0", @@ -418,7 +407,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D90A97A54A79B0\u0022", + "@odata.etag": "\u00220x8D9171A0109515A\u0022", "name": "ofgjbglc", "description": null, "type": "azureblob", @@ -427,7 +416,7 @@ "connectionString": null }, "container": { - "name": "sdplyrvx", + "name": "podjlinb", "query": null }, "dataChangeDetectionPolicy": null, @@ -443,10 +432,10 @@ "api-key": "Sanitized", "Content-Length": "996", "Content-Type": "application/json", - "traceparent": "00-e70486380718c04e967e2a5723d6e712-439e8b236136d74b-00", + "traceparent": "00-73e65024b7ed4245a742a409b284d15e-8d6ccf4ad339bc43-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "102596419a8fb2c3d682648f59e0153a", "x-ms-return-client-request-id": "true" @@ -514,9 +503,9 @@ "client-request-id": "10259641-9a8f-b2c3-d682-648f59e0153a", "Content-Length": "1387", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:47:47 GMT", - "elapsed-time": "77", - "ETag": "W/\u00220x8D90A97A55AF75F\u0022", + "Date": "Fri, 14 May 2021 20:51:11 GMT", + "elapsed-time": "1613", + "ETag": "W/\u00220x8D9171A02085235\u0022", "Expires": "-1", "Location": "https://mohitc-acs.search.windows.net/skillsets(\u0027tpmehipv\u0027)?api-version=2020-06-30", "OData-Version": "4.0", @@ -528,7 +517,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D90A97A55AF75F\u0022", + "@odata.etag": "\u00220x8D9171A02085235\u0022", "name": "tpmehipv", "description": null, "skills": [ @@ -609,10 +598,10 @@ "api-key": "Sanitized", "Content-Length": "436", "Content-Type": "application/json", - "traceparent": "00-b2225464a492b24293606b565432934b-3ba49a6822a97f4b-00", + "traceparent": "00-7d9eccb2e3ca314ca1e1f023fb3bd919-d978a972b8b20a49-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "059fef0e17e8d0b78f54dd8a113d95e5", "x-ms-return-client-request-id": "true" @@ -657,9 +646,9 @@ "client-request-id": "059fef0e-17e8-d0b7-8f54-dd8a113d95e5", "Content-Length": "1004", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:47:48 GMT", - "elapsed-time": "301", - "ETag": "W/\u00220x8D90A97A5801221\u0022", + "Date": "Fri, 14 May 2021 20:51:13 GMT", + "elapsed-time": "1685", + "ETag": "W/\u00220x8D9171A02E65788\u0022", "Expires": "-1", "Location": "https://mohitc-acs.search.windows.net/indexers(\u0027caupyhfn\u0027)?api-version=2020-06-30", "OData-Version": "4.0", @@ -671,7 +660,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#indexers/$entity", - "@odata.etag": "\u00220x8D90A97A5801221\u0022", + "@odata.etag": "\u00220x8D9171A02E65788\u0022", "name": "caupyhfn", "description": null, "dataSourceName": "ofgjbglc", @@ -731,10 +720,10 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-492f8759b0305b4296f56ecebacbbccd-a9b89a9333714b46-00", + "traceparent": "00-504cc8c9e91c9841b100c4d345818edb-eada2c96f7fb0f45-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "e5e5c4a8c0bccd2120267139e6b48a42", "x-ms-return-client-request-id": "true" @@ -744,10 +733,10 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "e5e5c4a8-c0bc-cd21-2026-7139e6b48a42", - "Content-Length": "2498", + "Content-Length": "2494", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:47:58 GMT", - "elapsed-time": "12", + "Date": "Fri, 14 May 2021 20:51:24 GMT", + "elapsed-time": "110", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -763,12 +752,12 @@ "lastResult": { "status": "success", "errorMessage": null, - "startTime": "2021-04-28T22:47:48.572Z", - "endTime": "2021-04-28T22:47:49.177Z", + "startTime": "2021-05-14T20:51:14.168Z", + "endTime": "2021-05-14T20:51:15.611Z", "itemsProcessed": 10, "itemsFailed": 0, - "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-04-28T22:47:48.577Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", - "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-04-28T22:47:18.5774394\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-04-28T22:47:18.5774394\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T20:51:14.321Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T20:50:44.321583\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T20:50:44.321583\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", "errors": [], "warnings": [ { @@ -785,12 +774,12 @@ { "status": "success", "errorMessage": null, - "startTime": "2021-04-28T22:47:48.572Z", - "endTime": "2021-04-28T22:47:49.177Z", + "startTime": "2021-05-14T20:51:14.168Z", + "endTime": "2021-05-14T20:51:15.611Z", "itemsProcessed": 10, "itemsFailed": 0, - "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-04-28T22:47:48.577Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", - "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-04-28T22:47:18.5774394\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-04-28T22:47:18.5774394\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T20:51:14.321Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T20:50:44.321583\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T20:50:44.321583\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", "errors": [], "warnings": [ { @@ -819,10 +808,10 @@ "api-key": "Sanitized", "Content-Length": "23", "Content-Type": "application/json", - "traceparent": "00-1375cce40e7dcc488b64a5df1c425660-9d2605821656aa40-00", + "traceparent": "00-11628d0a1184454bb21742cb9476338f-3716ce3ac2ba0148-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "a001e65fbefbbecaca940005028a28cf", "x-ms-return-client-request-id": "true" @@ -836,8 +825,8 @@ "client-request-id": "a001e65f-befb-beca-ca94-0005028a28cf", "Content-Length": "986", "Content-Type": "application/json; odata.metadata=none", - "Date": "Wed, 28 Apr 2021 22:47:58 GMT", - "elapsed-time": "63", + "Date": "Fri, 14 May 2021 20:51:24 GMT", + "elapsed-time": "397", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -854,10 +843,10 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-09e12e42e11fe64fab912ec857c0b66b-9395c4b7bc836641-00", + "traceparent": "00-ea2960eed5d49d47b479c5eb3a2c0fd3-d97b907e75cb4342-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "8dfd28c352184d82cdd2e5c2a67eeadb", "x-ms-return-client-request-id": "true" @@ -867,8 +856,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "8dfd28c3-5218-4d82-cdd2-e5c2a67eeadb", - "Date": "Wed, 28 Apr 2021 22:47:58 GMT", - "elapsed-time": "66", + "Date": "Fri, 14 May 2021 20:51:24 GMT", + "elapsed-time": "77", "Expires": "-1", "Pragma": "no-cache", "request-id": "8dfd28c3-5218-4d82-cdd2-e5c2a67eeadb", @@ -883,10 +872,10 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-bfdf4a87d7db1d4d8d9ceafbc66ca050-2a330eb04f9d8144-00", + "traceparent": "00-e96dcfb490d55c40893adfb00db27e60-6ed6b565b2efbc47-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "2a2a9bc9f43beae9fa261a28c01ccb95", "x-ms-return-client-request-id": "true" @@ -896,8 +885,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "2a2a9bc9-f43b-eae9-fa26-1a28c01ccb95", - "Date": "Wed, 28 Apr 2021 22:47:58 GMT", - "elapsed-time": "51", + "Date": "Fri, 14 May 2021 20:51:24 GMT", + "elapsed-time": "32", "Expires": "-1", "Pragma": "no-cache", "request-id": "2a2a9bc9-f43b-eae9-fa26-1a28c01ccb95", @@ -912,10 +901,10 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-a6961c582c84714aae227f6e90c6ccdf-34923bd7899c6443-00", + "traceparent": "00-a04da151a7c6114f8d901a1639afc14a-11e5be45db15a14f-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "bd75a1fdfdb60d2a64b4d229d907184c", "x-ms-return-client-request-id": "true" @@ -925,8 +914,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "bd75a1fd-fdb6-0d2a-64b4-d229d907184c", - "Date": "Wed, 28 Apr 2021 22:47:58 GMT", - "elapsed-time": "55", + "Date": "Fri, 14 May 2021 20:51:24 GMT", + "elapsed-time": "21", "Expires": "-1", "Pragma": "no-cache", "request-id": "bd75a1fd-fdb6-0d2a-64b4-d229d907184c", @@ -936,15 +925,15 @@ "ResponseBody": [] }, { - "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027fgsbkgip\u0027)?api-version=2020-06-30-Preview", + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027fgsbkgip\u0027)?api-version=2020-06-30", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-66aa3e1bbba4ec46816eafd238cceee0-52cb2af66df87b4d-00", + "traceparent": "00-e472fc0b85deee469a749cf4e31eea64-40eedb2a682ebd46-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "673b24a9fe60ce943e1292f1375a8cb1", "x-ms-return-client-request-id": "true" @@ -954,8 +943,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "673b24a9-fe60-ce94-3e12-92f1375a8cb1", - "Date": "Wed, 28 Apr 2021 22:47:58 GMT", - "elapsed-time": "178", + "Date": "Fri, 14 May 2021 20:51:25 GMT", + "elapsed-time": "199", "Expires": "-1", "Pragma": "no-cache", "request-id": "673b24a9-fe60-ce94-3e12-92f1375a8cb1", @@ -965,15 +954,15 @@ "ResponseBody": [] }, { - "RequestUri": "https://mohitc-acs.search.windows.net/synonymmaps(\u0027yjlkevvv\u0027)?api-version=2020-06-30-Preview", + "RequestUri": "https://mohitc-acs.search.windows.net/synonymmaps(\u0027yjlkevvv\u0027)?api-version=2020-06-30", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-07c8c8508637074ebdabefc12af5c6ad-8606d5552bb48445-00", + "traceparent": "00-b35b5cf2223bd44cb8ea67a28f0de159-840194eed416bc4e-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "05c44f072c08cb24701dc58621c011f2", "x-ms-return-client-request-id": "true" @@ -983,8 +972,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "05c44f07-2c08-cb24-701d-c58621c011f2", - "Date": "Wed, 28 Apr 2021 22:47:58 GMT", - "elapsed-time": "50", + "Date": "Fri, 14 May 2021 20:51:25 GMT", + "elapsed-time": "22", "Expires": "-1", "Pragma": "no-cache", "request-id": "05c44f07-2c08-cb24-701d-c58621c011f2", @@ -995,7 +984,7 @@ } ], "Variables": { - "BlobContainerName": "sdplyrvx", + "BlobContainerName": "podjlinb", "RandomSeed": "1271390025", "SEARCH_ADMIN_API_KEY": "Sanitized", "SEARCH_COGNITIVE_KEY": "Sanitized", diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnection.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnection.json index be928364065de..086c78f25baf6 100644 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnection.json +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnection.json @@ -8,9 +8,9 @@ "api-key": "Sanitized", "Content-Length": "216", "Content-Type": "application/json", - "traceparent": "00-4165150f122119489c3d842cfa773c5f-5ac389213cf53b47-00", + "traceparent": "00-400ac68c508ab44e9183aa0049e1dde3-98d38314cb9ce64c-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "5e7ee7eca6f238500027f653e2704c9f", @@ -23,7 +23,7 @@ "connectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net" }, "container": { - "name": "rfiltgsp" + "name": "fkqunexo" } }, "StatusCode": 201, @@ -32,9 +32,9 @@ "client-request-id": "5e7ee7ec-a6f2-3850-0027-f653e2704c9f", "Content-Length": "371", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 29 Apr 2021 22:50:09 GMT", - "elapsed-time": "130", - "ETag": "W/\u00220x8D90B61243E8584\u0022", + "Date": "Fri, 14 May 2021 20:00:06 GMT", + "elapsed-time": "42", + "ETag": "W/\u00220x8D91712DEE6D5E6\u0022", "Expires": "-1", "Location": "https://mohitc-acs.search.windows.net/datasources(\u0027tulnjsnj\u0027)?api-version=2020-06-30-Preview", "OData-Version": "4.0", @@ -46,7 +46,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D90B61243E8584\u0022", + "@odata.etag": "\u00220x8D91712DEE6D5E6\u0022", "name": "tulnjsnj", "description": null, "type": "azureblob", @@ -55,7 +55,7 @@ "connectionString": null }, "container": { - "name": "rfiltgsp", + "name": "fkqunexo", "query": null }, "dataChangeDetectionPolicy": null, @@ -71,11 +71,11 @@ "api-key": "Sanitized", "Content-Length": "211", "Content-Type": "application/json", - "If-Match": "\u00220x8D90B61243E8584\u0022", + "If-Match": "\u00220x8D91712DEE6D5E6\u0022", "Prefer": "return=representation", - "traceparent": "00-55cf25bfa17f38488069bd05d1d5eb9f-37b31e329617f44d-00", + "traceparent": "00-7166e1df21d9034b81e5ca23afc5a45e-74521a4cc0ac294a-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "8332b1fa8fe7b0044936592b8a7f8137", @@ -89,9 +89,9 @@ "connectionString": "\u003Cunchanged\u003E" }, "container": { - "name": "rfiltgsp" + "name": "fkqunexo" }, - "@odata.etag": "\u00220x8D90B61243E8584\u0022" + "@odata.etag": "\u00220x8D91712DEE6D5E6\u0022" }, "StatusCode": 200, "ResponseHeaders": { @@ -99,9 +99,9 @@ "client-request-id": "8332b1fa-8fe7-b004-4936-592b8a7f8137", "Content-Length": "388", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 29 Apr 2021 22:50:09 GMT", - "elapsed-time": "51", - "ETag": "W/\u00220x8D90B6124525F26\u0022", + "Date": "Fri, 14 May 2021 20:00:06 GMT", + "elapsed-time": "32", + "ETag": "W/\u00220x8D91712DEF46CEE\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -112,7 +112,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D90B6124525F26\u0022", + "@odata.etag": "\u00220x8D91712DEF46CEE\u0022", "name": "tulnjsnj", "description": "Updated description", "type": "azureblob", @@ -121,7 +121,7 @@ "connectionString": null }, "container": { - "name": "rfiltgsp", + "name": "fkqunexo", "query": null }, "dataChangeDetectionPolicy": null, @@ -135,9 +135,9 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-a97b69f5b1c8db46951c712d6fb393f6-703b50d81b7caa45-00", + "traceparent": "00-c802d6a5bc714747b8851251f9bf486d-49002b5007337d42-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "66949e9c82d62129b75c64057a15f751", @@ -150,9 +150,9 @@ "client-request-id": "66949e9c-82d6-2129-b75c-64057a15f751", "Content-Length": "388", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 29 Apr 2021 22:50:09 GMT", - "elapsed-time": "19", - "ETag": "W/\u00220x8D90B6124525F26\u0022", + "Date": "Fri, 14 May 2021 20:00:06 GMT", + "elapsed-time": "6", + "ETag": "W/\u00220x8D91712DEF46CEE\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -163,7 +163,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D90B6124525F26\u0022", + "@odata.etag": "\u00220x8D91712DEF46CEE\u0022", "name": "tulnjsnj", "description": "Updated description", "type": "azureblob", @@ -172,7 +172,7 @@ "connectionString": null }, "container": { - "name": "rfiltgsp", + "name": "fkqunexo", "query": null }, "dataChangeDetectionPolicy": null, @@ -186,10 +186,10 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "If-Match": "\u00220x8D90B6124525F26\u0022", - "traceparent": "00-ea0bd474709746419bf5560b37e2a00b-462b052c539d5d4c-00", + "If-Match": "\u00220x8D91712DEF46CEE\u0022", + "traceparent": "00-a68921aca9bd8541bb91c75a82ae93b2-f238bd40d44a1841-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "e8c78d2c676a5ca1e3cd14bc4d24ae80", @@ -200,8 +200,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "e8c78d2c-676a-5ca1-e3cd-14bc4d24ae80", - "Date": "Thu, 29 Apr 2021 22:50:09 GMT", - "elapsed-time": "60", + "Date": "Fri, 14 May 2021 20:00:06 GMT", + "elapsed-time": "16", "Expires": "-1", "Pragma": "no-cache", "request-id": "e8c78d2c-676a-5ca1-e3cd-14bc4d24ae80", @@ -216,9 +216,9 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-82ae5dc4343d574aa57401e239d14695-8a17b42f4fac1044-00", + "traceparent": "00-c18834796e3fd842ac6ed2366dd836ff-1fe03a66f9283540-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "44b6bea6e6dc77c88810cc8b2aff3634", @@ -231,8 +231,8 @@ "client-request-id": "44b6bea6-e6dc-77c8-8810-cc8b2aff3634", "Content-Length": "136", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 29 Apr 2021 22:50:09 GMT", - "elapsed-time": "152", + "Date": "Fri, 14 May 2021 20:00:06 GMT", + "elapsed-time": "7", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -254,14 +254,14 @@ } }, { - "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027rbvmtdtm\u0027)?api-version=2020-06-30-Preview", + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027vjtoebba\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-0e612649a5e186498b8c3a83e038bc72-a538bf1577537e40-00", + "traceparent": "00-3fc46e2a931c1e419f73b60096b55673-3a45c30d74d7204a-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "fcfe073f98b834ccfd3883096d6dd392", @@ -272,8 +272,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "fcfe073f-98b8-34cc-fd38-83096d6dd392", - "Date": "Thu, 29 Apr 2021 22:50:09 GMT", - "elapsed-time": "168", + "Date": "Fri, 14 May 2021 20:00:06 GMT", + "elapsed-time": "144", "Expires": "-1", "Pragma": "no-cache", "request-id": "fcfe073f-98b8-34cc-fd38-83096d6dd392", @@ -284,9 +284,9 @@ } ], "Variables": { - "BlobContainerName": "rfiltgsp", + "BlobContainerName": "fkqunexo", "RandomSeed": "12959464", - "SearchIndexName": "rbvmtdtm", + "SearchIndexName": "vjtoebba", "SEARCH_ADMIN_API_KEY": "Sanitized", "SEARCH_ENDPOINT_SUFFIX": null, "SEARCH_SERVICE_NAME": "mohitc-acs", diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnectionAsync.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnectionAsync.json index 6983d8bf034a4..156269c883c7d 100644 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnectionAsync.json +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudDataSourceConnectionAsync.json @@ -8,9 +8,9 @@ "api-key": "Sanitized", "Content-Length": "216", "Content-Type": "application/json", - "traceparent": "00-51f760eaec63b54c94cb3e82f3bd1384-022a3a2ca32b7842-00", + "traceparent": "00-7d6f0ba4d35bbf4e8360f999da4ac44c-fbf09af8e6434949-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "45e763d39deafea1a5a4ccec7f3f06c3", @@ -23,7 +23,7 @@ "connectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net" }, "container": { - "name": "oqsslcbl" + "name": "irgjhpyv" } }, "StatusCode": 201, @@ -32,9 +32,9 @@ "client-request-id": "45e763d3-9dea-fea1-a5a4-ccec7f3f06c3", "Content-Length": "371", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 29 Apr 2021 22:50:56 GMT", - "elapsed-time": "94", - "ETag": "W/\u00220x8D90B61402A8C65\u0022", + "Date": "Fri, 14 May 2021 20:01:39 GMT", + "elapsed-time": "44", + "ETag": "W/\u00220x8D91713163664A3\u0022", "Expires": "-1", "Location": "https://mohitc-acs.search.windows.net/datasources(\u0027xvdofdnf\u0027)?api-version=2020-06-30-Preview", "OData-Version": "4.0", @@ -46,7 +46,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D90B61402A8C65\u0022", + "@odata.etag": "\u00220x8D91713163664A3\u0022", "name": "xvdofdnf", "description": null, "type": "azureblob", @@ -55,7 +55,7 @@ "connectionString": null }, "container": { - "name": "oqsslcbl", + "name": "irgjhpyv", "query": null }, "dataChangeDetectionPolicy": null, @@ -71,11 +71,11 @@ "api-key": "Sanitized", "Content-Length": "211", "Content-Type": "application/json", - "If-Match": "\u00220x8D90B61402A8C65\u0022", + "If-Match": "\u00220x8D91713163664A3\u0022", "Prefer": "return=representation", - "traceparent": "00-6394fd04c30f58449b7238ec614ed210-cd5ea2f9c5abbb47-00", + "traceparent": "00-6d8d22807ff98f4d9a6438bc39959897-38499dbb0592494e-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "c0a01c3f803ad839c42bf0de391b99d7", @@ -89,9 +89,9 @@ "connectionString": "\u003Cunchanged\u003E" }, "container": { - "name": "oqsslcbl" + "name": "irgjhpyv" }, - "@odata.etag": "\u00220x8D90B61402A8C65\u0022" + "@odata.etag": "\u00220x8D91713163664A3\u0022" }, "StatusCode": 200, "ResponseHeaders": { @@ -99,9 +99,9 @@ "client-request-id": "c0a01c3f-803a-d839-c42b-f0de391b99d7", "Content-Length": "388", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 29 Apr 2021 22:50:56 GMT", - "elapsed-time": "39", - "ETag": "W/\u00220x8D90B61403A469B\u0022", + "Date": "Fri, 14 May 2021 20:01:39 GMT", + "elapsed-time": "32", + "ETag": "W/\u00220x8D917131641FF85\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -112,7 +112,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D90B61403A469B\u0022", + "@odata.etag": "\u00220x8D917131641FF85\u0022", "name": "xvdofdnf", "description": "Updated description", "type": "azureblob", @@ -121,7 +121,7 @@ "connectionString": null }, "container": { - "name": "oqsslcbl", + "name": "irgjhpyv", "query": null }, "dataChangeDetectionPolicy": null, @@ -135,9 +135,9 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-4ff51ba2c50b16488ad74ee4ca92a56f-1365f027dd386b4c-00", + "traceparent": "00-372368a6d8ef8c41b7335a000c6cde65-00f6082cf121f149-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "2b8a5705b6c9028dd5edee19f105dca8", @@ -150,9 +150,9 @@ "client-request-id": "2b8a5705-b6c9-028d-d5ed-ee19f105dca8", "Content-Length": "388", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 29 Apr 2021 22:50:56 GMT", - "elapsed-time": "6", - "ETag": "W/\u00220x8D90B61403A469B\u0022", + "Date": "Fri, 14 May 2021 20:01:39 GMT", + "elapsed-time": "7", + "ETag": "W/\u00220x8D917131641FF85\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -163,7 +163,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D90B61403A469B\u0022", + "@odata.etag": "\u00220x8D917131641FF85\u0022", "name": "xvdofdnf", "description": "Updated description", "type": "azureblob", @@ -172,7 +172,7 @@ "connectionString": null }, "container": { - "name": "oqsslcbl", + "name": "irgjhpyv", "query": null }, "dataChangeDetectionPolicy": null, @@ -186,10 +186,10 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "If-Match": "\u00220x8D90B61403A469B\u0022", - "traceparent": "00-a98f218af603274b9f8b654d9866f235-a74be928d3956244-00", + "If-Match": "\u00220x8D917131641FF85\u0022", + "traceparent": "00-b5d0ebf6aac2c148ba558a3370e2d4f6-b29c109decb29647-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "429ee39026a252332a0e81bfacc3c589", @@ -200,8 +200,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "429ee390-26a2-5233-2a0e-81bfacc3c589", - "Date": "Thu, 29 Apr 2021 22:50:56 GMT", - "elapsed-time": "43", + "Date": "Fri, 14 May 2021 20:01:39 GMT", + "elapsed-time": "17", "Expires": "-1", "Pragma": "no-cache", "request-id": "429ee390-26a2-5233-2a0e-81bfacc3c589", @@ -216,9 +216,9 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-57845772a979bc4480af52b5ac3390cc-27a263a05f1b3441-00", + "traceparent": "00-9991f11d999f4a47aa0f6ac8a3815382-d3f84a0d95eb3c4a-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "28e6f40adbb588fa8f9dea4c921fe7bf", @@ -231,8 +231,8 @@ "client-request-id": "28e6f40a-dbb5-88fa-8f9d-ea4c921fe7bf", "Content-Length": "136", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 29 Apr 2021 22:50:56 GMT", - "elapsed-time": "14", + "Date": "Fri, 14 May 2021 20:01:39 GMT", + "elapsed-time": "69", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -254,14 +254,14 @@ } }, { - "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027yqqkkgub\u0027)?api-version=2020-06-30-Preview", + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027xtlliwft\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-d4e29020671c2341b132a8fdaf0afd27-433767c471218a46-00", + "traceparent": "00-7b3d4e8e5401e84899ce88c6bdae6fd9-b1c2f415345f8148-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210429.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "554e484f577cdf34243701bb35cd5512", @@ -272,8 +272,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "554e484f-577c-df34-2437-01bb35cd5512", - "Date": "Thu, 29 Apr 2021 22:50:56 GMT", - "elapsed-time": "156", + "Date": "Fri, 14 May 2021 20:01:39 GMT", + "elapsed-time": "148", "Expires": "-1", "Pragma": "no-cache", "request-id": "554e484f-577c-df34-2437-01bb35cd5512", @@ -284,9 +284,9 @@ } ], "Variables": { - "BlobContainerName": "oqsslcbl", + "BlobContainerName": "irgjhpyv", "RandomSeed": "1095428452", - "SearchIndexName": "yqqkkgub", + "SearchIndexName": "xtlliwft", "SEARCH_ADMIN_API_KEY": "Sanitized", "SEARCH_ENDPOINT_SUFFIX": null, "SEARCH_SERVICE_NAME": "mohitc-acs", diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillset.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillset.json index d17e468142170..67c176a95cf7c 100644 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillset.json +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillset.json @@ -8,9 +8,9 @@ "api-key": "Sanitized", "Content-Length": "3785", "Content-Type": "application/json", - "traceparent": "00-2e72b7f686aa3d418a926e2244613caf-2b9d7c47a3850b48-00", + "traceparent": "00-44806c14fcfafd4bb189af51d1f87b44-c888f0f6f8312c43-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "cc67333577d57c372321678152235344", @@ -264,9 +264,9 @@ "client-request-id": "cc673335-77d5-7c37-2321-678152235344", "Content-Length": "5483", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:43:56 GMT", - "elapsed-time": "124", - "ETag": "W/\u00220x8D90A971B885E19\u0022", + "Date": "Thu, 13 May 2021 17:35:45 GMT", + "elapsed-time": "2136", + "ETag": "W/\u00220x8D916358A0AF36A\u0022", "Expires": "-1", "Location": "https://mohitc-acs.search.windows.net/skillsets(\u0027pamepaud\u0027)?api-version=2020-06-30-Preview", "OData-Version": "4.0", @@ -278,7 +278,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D90A971B885E19\u0022", + "@odata.etag": "\u00220x8D916358A0AF36A\u0022", "name": "pamepaud", "description": null, "skills": [ @@ -622,11 +622,11 @@ "api-key": "Sanitized", "Content-Length": "4274", "Content-Type": "application/json", - "If-Match": "\u00220x8D90A971B885E19\u0022", + "If-Match": "\u00220x8D916358A0AF36A\u0022", "Prefer": "return=representation", - "traceparent": "00-c35e0a044eaf654984ef16b2f92112e5-3c4bee1a58938841-00", + "traceparent": "00-63e1779e3ed556499ad4321ae377d499-be7e1b2437c0fc40-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "90e4167c583d4f65c1157d7c68338cd1", @@ -908,7 +908,7 @@ } ] }, - "@odata.etag": "\u00220x8D90A971B885E19\u0022" + "@odata.etag": "\u00220x8D916358A0AF36A\u0022" }, "StatusCode": 200, "ResponseHeaders": { @@ -916,9 +916,9 @@ "client-request-id": "90e4167c-583d-4f65-c115-7d7c68338cd1", "Content-Length": "5499", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:43:56 GMT", - "elapsed-time": "82", - "ETag": "W/\u00220x8D90A971BB0D4CF\u0022", + "Date": "Thu, 13 May 2021 17:35:45 GMT", + "elapsed-time": "125", + "ETag": "W/\u00220x8D916358A9F864A\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -929,7 +929,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D90A971BB0D4CF\u0022", + "@odata.etag": "\u00220x8D916358A9F864A\u0022", "name": "pamepaud", "description": "Update description", "skills": [ @@ -1271,9 +1271,9 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-03138d1e5c9a38478876bbb73ac302ad-2fb645cc11c4df48-00", + "traceparent": "00-17e3a2c34d34cd458b50bf1b1ff4c5b7-f9d81caa38f72241-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "818e3109e05f32d66ddd992e5836e49f", @@ -1286,9 +1286,9 @@ "client-request-id": "818e3109-e05f-32d6-6ddd-992e5836e49f", "Content-Length": "5530", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:43:56 GMT", - "elapsed-time": "19", - "ETag": "W/\u00220x8D90A971BB0D4CF\u0022", + "Date": "Thu, 13 May 2021 17:35:46 GMT", + "elapsed-time": "46", + "ETag": "W/\u00220x8D916358A9F864A\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -1299,7 +1299,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D90A971BB0D4CF\u0022", + "@odata.etag": "\u00220x8D916358A9F864A\u0022", "name": "pamepaud", "description": "Update description", "skills": [ @@ -1643,10 +1643,10 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "If-Match": "\u00220x8D90A971BB0D4CF\u0022", - "traceparent": "00-257fe50e0676e84c8e085902c0f9c9cd-9646156d75b76a40-00", + "If-Match": "\u00220x8D916358A9F864A\u0022", + "traceparent": "00-a4b173ebb0a4f14fa648e5a351a516ef-d06cc47c15dd2942-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "5eb0fd6765dcddfecd170bc0faba14ef", @@ -1657,8 +1657,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "5eb0fd67-65dc-ddfe-cd17-0bc0faba14ef", - "Date": "Wed, 28 Apr 2021 22:43:56 GMT", - "elapsed-time": "62", + "Date": "Thu, 13 May 2021 17:35:46 GMT", + "elapsed-time": "48", "Expires": "-1", "Pragma": "no-cache", "request-id": "5eb0fd67-65dc-ddfe-cd17-0bc0faba14ef", @@ -1673,9 +1673,9 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-90c0738373609c4696855ab95e739c16-9303b4d0c8e5794b-00", + "traceparent": "00-af42e5500d5aeb46b3b6f316ac2680a3-0fec4811376d4a4e-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "20789595d2959be440b12260be36f68b", @@ -1688,8 +1688,8 @@ "client-request-id": "20789595-d295-9be4-40b1-2260be36f68b", "Content-Length": "95", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:43:56 GMT", - "elapsed-time": "13", + "Date": "Thu, 13 May 2021 17:35:46 GMT", + "elapsed-time": "125", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -1704,14 +1704,14 @@ } }, { - "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027gpbbymvm\u0027)?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027xjevriaw\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-325e103175899a45a17f4b1bf8761e87-4d777de22e0fe342-00", + "traceparent": "00-2d30f049edd3684786749fee75905ff0-f9eb4b728dcb914f-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "6a15de312d83a3f533b0b348d51538b2", @@ -1722,8 +1722,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "6a15de31-2d83-a3f5-33b0-b348d51538b2", - "Date": "Wed, 28 Apr 2021 22:43:56 GMT", - "elapsed-time": "178", + "Date": "Thu, 13 May 2021 17:35:49 GMT", + "elapsed-time": "204", "Expires": "-1", "Pragma": "no-cache", "request-id": "6a15de31-2d83-a3f5-33b0-b348d51538b2", @@ -1734,9 +1734,9 @@ } ], "Variables": { - "BlobContainerName": "nuwllwtc", + "BlobContainerName": "ednoxnuw", "RandomSeed": "95508446", - "SearchIndexName": "gpbbymvm", + "SearchIndexName": "xjevriaw", "SEARCH_ADMIN_API_KEY": "Sanitized", "SEARCH_ENDPOINT_SUFFIX": null, "SEARCH_SERVICE_NAME": "mohitc-acs", diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetAsync.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetAsync.json index ea9cce6ec2259..bccb903ca143c 100644 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetAsync.json +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetAsync.json @@ -8,9 +8,9 @@ "api-key": "Sanitized", "Content-Length": "3785", "Content-Type": "application/json", - "traceparent": "00-f80926caf5e2ac41ae87e25e53662f48-cf2a6f7c64cf7d4e-00", + "traceparent": "00-22cb0dfc895b86479f6a19586b634b4a-47aeaf5562338b41-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "0dea3d3b17b185f4c9b18e55f3aeabcb", @@ -264,9 +264,9 @@ "client-request-id": "0dea3d3b-17b1-85f4-c9b1-8e55f3aeabcb", "Content-Length": "5483", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:44:20 GMT", - "elapsed-time": "95", - "ETag": "W/\u00220x8D90A9729B8053A\u0022", + "Date": "Thu, 13 May 2021 17:36:53 GMT", + "elapsed-time": "83", + "ETag": "W/\u00220x8D91635B2638052\u0022", "Expires": "-1", "Location": "https://mohitc-acs.search.windows.net/skillsets(\u0027wmviqrdd\u0027)?api-version=2020-06-30-Preview", "OData-Version": "4.0", @@ -278,7 +278,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D90A9729B8053A\u0022", + "@odata.etag": "\u00220x8D91635B2638052\u0022", "name": "wmviqrdd", "description": null, "skills": [ @@ -622,11 +622,11 @@ "api-key": "Sanitized", "Content-Length": "4274", "Content-Type": "application/json", - "If-Match": "\u00220x8D90A9729B8053A\u0022", + "If-Match": "\u00220x8D91635B2638052\u0022", "Prefer": "return=representation", - "traceparent": "00-03c6cce683901e4ab28afade502f98fa-b3c325dbf1a1a446-00", + "traceparent": "00-ca397ff64096204a8a6cc2d2ea3dcecc-671fc9dd8e113343-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "732939573cf56ee1dac818da12ea768c", @@ -908,7 +908,7 @@ } ] }, - "@odata.etag": "\u00220x8D90A9729B8053A\u0022" + "@odata.etag": "\u00220x8D91635B2638052\u0022" }, "StatusCode": 200, "ResponseHeaders": { @@ -916,9 +916,9 @@ "client-request-id": "73293957-3cf5-6ee1-dac8-18da12ea768c", "Content-Length": "5499", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:44:20 GMT", - "elapsed-time": "108", - "ETag": "W/\u00220x8D90A9729D2E4EB\u0022", + "Date": "Thu, 13 May 2021 17:36:53 GMT", + "elapsed-time": "76", + "ETag": "W/\u00220x8D91635B2D8294E\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -929,7 +929,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D90A9729D2E4EB\u0022", + "@odata.etag": "\u00220x8D91635B2D8294E\u0022", "name": "wmviqrdd", "description": "Update description", "skills": [ @@ -1271,9 +1271,9 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-c76f74c57cd0084587e0b4d73365c14f-385627f79563f041-00", + "traceparent": "00-888814758d31974bb330110b065f70ca-d872cf9a47650d4d-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "4aa65c66418122d836018835b1aa4d21", @@ -1286,9 +1286,9 @@ "client-request-id": "4aa65c66-4181-22d8-3601-8835b1aa4d21", "Content-Length": "5530", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:44:20 GMT", - "elapsed-time": "18", - "ETag": "W/\u00220x8D90A9729D2E4EB\u0022", + "Date": "Thu, 13 May 2021 17:36:53 GMT", + "elapsed-time": "19", + "ETag": "W/\u00220x8D91635B2D8294E\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -1299,7 +1299,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D90A9729D2E4EB\u0022", + "@odata.etag": "\u00220x8D91635B2D8294E\u0022", "name": "wmviqrdd", "description": "Update description", "skills": [ @@ -1643,10 +1643,10 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "If-Match": "\u00220x8D90A9729D2E4EB\u0022", - "traceparent": "00-bb0e35be672a5f478c9e09cf22a85fba-ebe9e0c22d550b41-00", + "If-Match": "\u00220x8D91635B2D8294E\u0022", + "traceparent": "00-7a61a94b7bb9eb449bf6dc30d8564f00-f9c8c956bc060940-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "ceac00024630fe495c7b33e8ff1972de", @@ -1657,8 +1657,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "ceac0002-4630-fe49-5c7b-33e8ff1972de", - "Date": "Wed, 28 Apr 2021 22:44:20 GMT", - "elapsed-time": "55", + "Date": "Thu, 13 May 2021 17:36:53 GMT", + "elapsed-time": "28", "Expires": "-1", "Pragma": "no-cache", "request-id": "ceac0002-4630-fe49-5c7b-33e8ff1972de", @@ -1673,9 +1673,9 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-78632e4e259d464d9ccbd6c889164b2d-d16f83fe50dc284d-00", + "traceparent": "00-abf72a6044ae6f44bab5191c1d234f54-f6540ed4bfa02a48-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "96ef023b6107164a60073df4b3abbd2f", @@ -1688,8 +1688,8 @@ "client-request-id": "96ef023b-6107-164a-6007-3df4b3abbd2f", "Content-Length": "95", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:44:20 GMT", - "elapsed-time": "21", + "Date": "Thu, 13 May 2021 17:36:53 GMT", + "elapsed-time": "6", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -1704,14 +1704,14 @@ } }, { - "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027oeydkomp\u0027)?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027bbplrgtp\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-630713fd91387f418780485c7f1e0788-67f9e9a7009fa24a-00", + "traceparent": "00-0c6ffce9ad1ba9479a760e4245121686-68dc27c495bb8c4a-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", + "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "11d8f67ba73e205c13a8ee060def221c", @@ -1722,8 +1722,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "11d8f67b-a73e-205c-13a8-ee060def221c", - "Date": "Wed, 28 Apr 2021 22:44:20 GMT", - "elapsed-time": "170", + "Date": "Thu, 13 May 2021 17:36:54 GMT", + "elapsed-time": "189", "Expires": "-1", "Pragma": "no-cache", "request-id": "11d8f67b-a73e-205c-13a8-ee060def221c", @@ -1734,9 +1734,9 @@ } ], "Variables": { - "BlobContainerName": "ifcagbbm", + "BlobContainerName": "xgbawdje", "RandomSeed": "234438998", - "SearchIndexName": "oeydkomp", + "SearchIndexName": "bbplrgtp", "SEARCH_ADMIN_API_KEY": "Sanitized", "SEARCH_ENDPOINT_SUFFIX": null, "SEARCH_SERVICE_NAME": "mohitc-acs", diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreview.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreview.json new file mode 100644 index 0000000000000..753882b3ac3f5 --- /dev/null +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreview.json @@ -0,0 +1,1754 @@ +{ + "Entries": [ + { + "RequestUri": "https://mohitc-acs.search.windows.net/skillsets?api-version=2020-06-30-Preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json; odata.metadata=minimal", + "api-key": "Sanitized", + "Content-Length": "3785", + "Content-Type": "application/json", + "traceparent": "00-f00b008920f305498551638294c97f1c-823eb880e3f26042-00", + "User-Agent": [ + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + ], + "x-ms-client-request-id": "c8af53997e5cd16b41dee18b7e747e76", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "olrvndje", + "skills": [ + { + "defaultLanguageCode": "en", + "textSplitMode": "pages", + "maximumPageLength": 5000, + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "context": "/document/reviews_text", + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text" + }, + { + "name": "languageCode", + "source": "/document/Language" + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ] + }, + { + "defaultLanguageCode": "en", + "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", + "context": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_text/pages/*" + }, + { + "name": "languageCode", + "source": "/document/Language" + } + ], + "outputs": [ + { + "name": "score", + "targetName": "Sentiment" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "context": "/document", + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text" + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "Language" + } + ] + }, + { + "defaultLanguageCode": "en", + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "context": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_Text/pages/*" + }, + { + "name": "languageCode", + "source": "/document/Language" + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "Keyphrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", + "context": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name" + }, + { + "name": "reviews_date", + "source": "/document/reviews_date" + }, + { + "name": "reviews_rating", + "source": "/documents/reviews_rating" + }, + { + "name": "reviews_text", + "source": "/documents/reviews_text" + }, + { + "name": "reviews_title", + "source": "/document/reviews_title" + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey" + }, + { + "name": "pages", + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment" + }, + { + "name": "LanguageCode", + "source": "/document/Language" + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*" + }, + { + "name": "keyphrase", + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*" + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "output", + "targetName": "tableprojection" + } + ] + } + ], + "cognitiveServices": { + "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices" + }, + "knowledgeStore": { + "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", + "projections": [ + { + "tables": [ + { + "tableName": "hotelReviewsDocument", + "generatedKeyName": "Documentid", + "source": "/document/tableprojection" + }, + { + "tableName": "hotelReviewsPages", + "generatedKeyName": "Pagesid", + "source": "/document/tableprojection/pages/*" + }, + { + "tableName": "hotelReviewsKeyPhrases", + "generatedKeyName": "KeyPhrasesid", + "source": "/document/tableprojection/pages/*/keyphrase/*" + } + ] + }, + { + "tables": [ + { + "tableName": "hotelReviewsInlineDocument", + "generatedKeyName": "Documentid", + "sourceContext": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name" + }, + { + "name": "reviews_date", + "source": "/document/reviews_date" + }, + { + "name": "reviews_rating", + "source": "/document/reviews_rating" + }, + { + "name": "reviews_text", + "source": "/document/reviews_text" + }, + { + "name": "reviews_title", + "source": "/document/reviews_title" + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey" + } + ] + }, + { + "tableName": "hotelReviewsInlinePages", + "generatedKeyName": "Pagesid", + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment" + }, + { + "name": "LanguageCode", + "source": "/document/Language" + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*" + } + ] + }, + { + "tableName": "hotelReviewsInlineKeyPhrases", + "generatedKeyName": "kpidv2", + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*" + } + ] + } + ] + } + ] + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "c8af5399-7e5c-d16b-41de-e18b7e747e76", + "Content-Length": "5483", + "Content-Type": "application/json; odata.metadata=minimal", + "Date": "Fri, 14 May 2021 20:00:52 GMT", + "elapsed-time": "103", + "ETag": "W/\u00220x8D91712FA885AB5\u0022", + "Expires": "-1", + "Location": "https://mohitc-acs.search.windows.net/skillsets(\u0027olrvndje\u0027)?api-version=2020-06-30-Preview", + "OData-Version": "4.0", + "Pragma": "no-cache", + "Preference-Applied": "odata.include-annotations=\u0022*\u0022", + "request-id": "c8af5399-7e5c-d16b-41de-e18b7e747e76", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "x-ms-client-request-id": "c8af5399-7e5c-d16b-41de-e18b7e747e76" + }, + "ResponseBody": { + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", + "@odata.etag": "\u00220x8D91712FA885AB5\u0022", + "name": "olrvndje", + "description": null, + "skills": [ + { + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "name": null, + "description": null, + "context": "/document/reviews_text", + "defaultLanguageCode": "en", + "textSplitMode": "pages", + "maximumPageLength": 5000, + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", + "name": null, + "description": null, + "context": "/document/reviews_text/pages/*", + "defaultLanguageCode": "en", + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "score", + "targetName": "Sentiment" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "name": null, + "description": null, + "context": "/document", + "defaultCountryHint": null, + "modelVersion": null, + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "Language" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "name": null, + "description": null, + "context": "/document/reviews_text/pages/*", + "defaultLanguageCode": "en", + "maxKeyPhraseCount": null, + "modelVersion": null, + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_Text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "Keyphrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", + "name": null, + "description": null, + "context": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/documents/reviews_rating", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/documents/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "sourceContext": null, + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "sourceContext": null, + "inputs": [] + }, + { + "name": "pages", + "source": null, + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "sourceContext": null, + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "keyphrase", + "source": null, + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "sourceContext": null, + "inputs": [] + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "output", + "targetName": "tableprojection" + } + ] + } + ], + "cognitiveServices": { + "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices", + "description": null + }, + "knowledgeStore": { + "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", + "projections": [ + { + "tables": [ + { + "tableName": "hotelReviewsDocument", + "referenceKeyName": null, + "generatedKeyName": "Documentid", + "source": "/document/tableprojection", + "sourceContext": null, + "inputs": [] + }, + { + "tableName": "hotelReviewsPages", + "referenceKeyName": null, + "generatedKeyName": "Pagesid", + "source": "/document/tableprojection/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "tableName": "hotelReviewsKeyPhrases", + "referenceKeyName": null, + "generatedKeyName": "KeyPhrasesid", + "source": "/document/tableprojection/pages/*/keyphrase/*", + "sourceContext": null, + "inputs": [] + } + ], + "objects": [], + "files": [] + }, + { + "tables": [ + { + "tableName": "hotelReviewsInlineDocument", + "referenceKeyName": null, + "generatedKeyName": "Documentid", + "source": null, + "sourceContext": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/document/reviews_rating", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "sourceContext": null, + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "sourceContext": null, + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlinePages", + "referenceKeyName": null, + "generatedKeyName": "Pagesid", + "source": null, + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "sourceContext": null, + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlineKeyPhrases", + "referenceKeyName": null, + "generatedKeyName": "kpidv2", + "source": null, + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "sourceContext": null, + "inputs": [] + } + ] + } + ], + "objects": [], + "files": [] + } + ], + "parameters": null + }, + "encryptionKey": null + } + }, + { + "RequestUri": "https://mohitc-acs.search.windows.net/skillsets(\u0027olrvndje\u0027)?api-version=2020-06-30-Preview", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json; odata.metadata=minimal", + "api-key": "Sanitized", + "Content-Length": "4274", + "Content-Type": "application/json", + "If-Match": "\u00220x8D91712FA885AB5\u0022", + "Prefer": "return=representation", + "traceparent": "00-3ec2fd46b30b6b42811af3547f31fd47-19ffa46d9bb2e046-00", + "User-Agent": [ + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + ], + "x-ms-client-request-id": "dab506cf82922c8e5d0166b16d14b969", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "olrvndje", + "description": "Update description", + "skills": [ + { + "defaultLanguageCode": "en", + "textSplitMode": "pages", + "maximumPageLength": 5000, + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "context": "/document/reviews_text", + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "inputs": [] + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ] + }, + { + "defaultLanguageCode": "en", + "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", + "context": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_text/pages/*", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "inputs": [] + } + ], + "outputs": [ + { + "name": "score", + "targetName": "Sentiment" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "context": "/document", + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "inputs": [] + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "Language" + } + ] + }, + { + "defaultLanguageCode": "en", + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "context": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_Text/pages/*", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "inputs": [] + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "Keyphrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", + "context": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/documents/reviews_rating", + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/documents/reviews_text", + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "inputs": [] + }, + { + "name": "pages", + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "inputs": [] + }, + { + "name": "keyphrase", + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [] + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "output", + "targetName": "tableprojection" + } + ] + } + ], + "cognitiveServices": { + "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices" + }, + "knowledgeStore": { + "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", + "projections": [ + { + "tables": [ + { + "tableName": "hotelReviewsDocument", + "generatedKeyName": "Documentid", + "source": "/document/tableprojection", + "inputs": [] + }, + { + "tableName": "hotelReviewsPages", + "generatedKeyName": "Pagesid", + "source": "/document/tableprojection/pages/*", + "inputs": [] + }, + { + "tableName": "hotelReviewsKeyPhrases", + "generatedKeyName": "KeyPhrasesid", + "source": "/document/tableprojection/pages/*/keyphrase/*", + "inputs": [] + } + ], + "objects": [], + "files": [] + }, + { + "tables": [ + { + "tableName": "hotelReviewsInlineDocument", + "generatedKeyName": "Documentid", + "sourceContext": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/document/reviews_rating", + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/document/reviews_text", + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlinePages", + "generatedKeyName": "Pagesid", + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlineKeyPhrases", + "generatedKeyName": "kpidv2", + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [] + } + ] + } + ], + "objects": [], + "files": [] + } + ] + }, + "@odata.etag": "\u00220x8D91712FA885AB5\u0022" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "dab506cf-8292-2c8e-5d01-66b16d14b969", + "Content-Length": "5499", + "Content-Type": "application/json; odata.metadata=minimal", + "Date": "Fri, 14 May 2021 20:00:52 GMT", + "elapsed-time": "79", + "ETag": "W/\u00220x8D91712FA9CF7E8\u0022", + "Expires": "-1", + "OData-Version": "4.0", + "Pragma": "no-cache", + "Preference-Applied": "odata.include-annotations=\u0022*\u0022", + "request-id": "dab506cf-8292-2c8e-5d01-66b16d14b969", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "x-ms-client-request-id": "dab506cf-8292-2c8e-5d01-66b16d14b969" + }, + "ResponseBody": { + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", + "@odata.etag": "\u00220x8D91712FA9CF7E8\u0022", + "name": "olrvndje", + "description": "Update description", + "skills": [ + { + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "name": null, + "description": null, + "context": "/document/reviews_text", + "defaultLanguageCode": "en", + "textSplitMode": "pages", + "maximumPageLength": 5000, + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", + "name": null, + "description": null, + "context": "/document/reviews_text/pages/*", + "defaultLanguageCode": "en", + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "score", + "targetName": "Sentiment" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "name": null, + "description": null, + "context": "/document", + "defaultCountryHint": null, + "modelVersion": null, + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "Language" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "name": null, + "description": null, + "context": "/document/reviews_text/pages/*", + "defaultLanguageCode": "en", + "maxKeyPhraseCount": null, + "modelVersion": null, + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_Text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "Keyphrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", + "name": null, + "description": null, + "context": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/documents/reviews_rating", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/documents/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "sourceContext": null, + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "sourceContext": null, + "inputs": [] + }, + { + "name": "pages", + "source": null, + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "sourceContext": null, + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "keyphrase", + "source": null, + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "sourceContext": null, + "inputs": [] + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "output", + "targetName": "tableprojection" + } + ] + } + ], + "cognitiveServices": { + "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices", + "description": null + }, + "knowledgeStore": { + "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", + "projections": [ + { + "tables": [ + { + "tableName": "hotelReviewsDocument", + "referenceKeyName": null, + "generatedKeyName": "Documentid", + "source": "/document/tableprojection", + "sourceContext": null, + "inputs": [] + }, + { + "tableName": "hotelReviewsPages", + "referenceKeyName": null, + "generatedKeyName": "Pagesid", + "source": "/document/tableprojection/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "tableName": "hotelReviewsKeyPhrases", + "referenceKeyName": null, + "generatedKeyName": "KeyPhrasesid", + "source": "/document/tableprojection/pages/*/keyphrase/*", + "sourceContext": null, + "inputs": [] + } + ], + "objects": [], + "files": [] + }, + { + "tables": [ + { + "tableName": "hotelReviewsInlineDocument", + "referenceKeyName": null, + "generatedKeyName": "Documentid", + "source": null, + "sourceContext": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/document/reviews_rating", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "sourceContext": null, + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "sourceContext": null, + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlinePages", + "referenceKeyName": null, + "generatedKeyName": "Pagesid", + "source": null, + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "sourceContext": null, + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlineKeyPhrases", + "referenceKeyName": null, + "generatedKeyName": "kpidv2", + "source": null, + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "sourceContext": null, + "inputs": [] + } + ] + } + ], + "objects": [], + "files": [] + } + ], + "parameters": null + }, + "encryptionKey": null + } + }, + { + "RequestUri": "https://mohitc-acs.search.windows.net/skillsets(\u0027olrvndje\u0027)?api-version=2020-06-30-Preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json; odata.metadata=minimal", + "api-key": "Sanitized", + "traceparent": "00-bd8f64ad5f7bae4b9b12b703df722d3e-941ac6677b157f41-00", + "User-Agent": [ + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + ], + "x-ms-client-request-id": "3d315e227a0339a11ab34d73c47c89dd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "3d315e22-7a03-39a1-1ab3-4d73c47c89dd", + "Content-Length": "5530", + "Content-Type": "application/json; odata.metadata=minimal", + "Date": "Fri, 14 May 2021 20:00:52 GMT", + "elapsed-time": "18", + "ETag": "W/\u00220x8D91712FA9CF7E8\u0022", + "Expires": "-1", + "OData-Version": "4.0", + "Pragma": "no-cache", + "Preference-Applied": "odata.include-annotations=\u0022*\u0022", + "request-id": "3d315e22-7a03-39a1-1ab3-4d73c47c89dd", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "x-ms-client-request-id": "3d315e22-7a03-39a1-1ab3-4d73c47c89dd" + }, + "ResponseBody": { + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", + "@odata.etag": "\u00220x8D91712FA9CF7E8\u0022", + "name": "olrvndje", + "description": "Update description", + "skills": [ + { + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "name": "#1", + "description": null, + "context": "/document/reviews_text", + "defaultLanguageCode": "en", + "textSplitMode": "pages", + "maximumPageLength": 5000, + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", + "name": "#2", + "description": null, + "context": "/document/reviews_text/pages/*", + "defaultLanguageCode": "en", + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "score", + "targetName": "Sentiment" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "name": "#3", + "description": null, + "context": "/document", + "defaultCountryHint": null, + "modelVersion": null, + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "Language" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "name": "#4", + "description": null, + "context": "/document/reviews_text/pages/*", + "defaultLanguageCode": "en", + "maxKeyPhraseCount": null, + "modelVersion": null, + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_Text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "Keyphrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", + "name": "#5", + "description": null, + "context": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/documents/reviews_rating", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/documents/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "sourceContext": null, + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "sourceContext": null, + "inputs": [] + }, + { + "name": "pages", + "source": null, + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "sourceContext": null, + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "keyphrase", + "source": null, + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "sourceContext": null, + "inputs": [] + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "output", + "targetName": "tableprojection" + } + ] + } + ], + "cognitiveServices": { + "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices", + "description": null + }, + "knowledgeStore": { + "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", + "projections": [ + { + "tables": [ + { + "tableName": "hotelReviewsDocument", + "referenceKeyName": null, + "generatedKeyName": "Documentid", + "source": "/document/tableprojection", + "sourceContext": null, + "inputs": [] + }, + { + "tableName": "hotelReviewsPages", + "referenceKeyName": null, + "generatedKeyName": "Pagesid", + "source": "/document/tableprojection/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "tableName": "hotelReviewsKeyPhrases", + "referenceKeyName": null, + "generatedKeyName": "KeyPhrasesid", + "source": "/document/tableprojection/pages/*/keyphrase/*", + "sourceContext": null, + "inputs": [] + } + ], + "objects": [], + "files": [] + }, + { + "tables": [ + { + "tableName": "hotelReviewsInlineDocument", + "referenceKeyName": null, + "generatedKeyName": "Documentid", + "source": null, + "sourceContext": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/document/reviews_rating", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "sourceContext": null, + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "sourceContext": null, + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlinePages", + "referenceKeyName": null, + "generatedKeyName": "Pagesid", + "source": null, + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "sourceContext": null, + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlineKeyPhrases", + "referenceKeyName": null, + "generatedKeyName": "kpidv2", + "source": null, + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "sourceContext": null, + "inputs": [] + } + ] + } + ], + "objects": [], + "files": [] + } + ], + "parameters": { + "synthesizeGeneratedKeyName": true + } + }, + "encryptionKey": null + } + }, + { + "RequestUri": "https://mohitc-acs.search.windows.net/skillsets(\u0027olrvndje\u0027)?api-version=2020-06-30-Preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json; odata.metadata=minimal", + "api-key": "Sanitized", + "If-Match": "\u00220x8D91712FA9CF7E8\u0022", + "traceparent": "00-cc81a6407161014c8c8fd4fd847b8c68-21438e7e47e41944-00", + "User-Agent": [ + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + ], + "x-ms-client-request-id": "b155d2ba057916c2c5826a5b18ba632d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "b155d2ba-0579-16c2-c582-6a5b18ba632d", + "Date": "Fri, 14 May 2021 20:00:52 GMT", + "elapsed-time": "28", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "b155d2ba-0579-16c2-c582-6a5b18ba632d", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "x-ms-client-request-id": "b155d2ba-0579-16c2-c582-6a5b18ba632d" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://mohitc-acs.search.windows.net/skillsets?$select=name\u0026api-version=2020-06-30-Preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json; odata.metadata=minimal", + "api-key": "Sanitized", + "traceparent": "00-a20b36dc6cd8e64b87da974df12de156-0a2147675ac61c46-00", + "User-Agent": [ + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + ], + "x-ms-client-request-id": "1f69782441435473647cbfdf341b68e1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "1f697824-4143-5473-647c-bfdf341b68e1", + "Content-Length": "134", + "Content-Type": "application/json; odata.metadata=minimal", + "Date": "Fri, 14 May 2021 20:00:52 GMT", + "elapsed-time": "7", + "Expires": "-1", + "OData-Version": "4.0", + "Pragma": "no-cache", + "Preference-Applied": "odata.include-annotations=\u0022*\u0022", + "request-id": "1f697824-4143-5473-647c-bfdf341b68e1", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "x-ms-client-request-id": "1f697824-4143-5473-647c-bfdf341b68e1" + }, + "ResponseBody": { + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets(name)", + "value": [ + { + "name": "pamepaud" + }, + { + "name": "wmviqrdd" + } + ] + } + }, + { + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027jbuajwjk\u0027)?api-version=2020-06-30-Preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json; odata.metadata=minimal", + "api-key": "Sanitized", + "traceparent": "00-fb1b550727b8fd40b974615ec8ca3600-5e333a50fd4e4f4b-00", + "User-Agent": [ + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + ], + "x-ms-client-request-id": "9af6887707be1df09b1a77800f462060", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "9af68877-07be-1df0-9b1a-77800f462060", + "Date": "Fri, 14 May 2021 20:00:52 GMT", + "elapsed-time": "155", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "9af68877-07be-1df0-9b1a-77800f462060", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "x-ms-client-request-id": "9af68877-07be-1df0-9b1a-77800f462060" + }, + "ResponseBody": [] + } + ], + "Variables": { + "BlobContainerName": "tlvteujw", + "RandomSeed": "1642481062", + "SearchIndexName": "jbuajwjk", + "SEARCH_ADMIN_API_KEY": "Sanitized", + "SEARCH_ENDPOINT_SUFFIX": null, + "SEARCH_SERVICE_NAME": "mohitc-acs", + "SEARCH_STORAGE_KEY": "Sanitized", + "SEARCH_STORAGE_NAME": "mohitcsablob", + "STORAGE_ENDPOINT_SUFFIX": null + } +} \ No newline at end of file diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreviewAsync.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreviewAsync.json new file mode 100644 index 0000000000000..09c48cf5c1c61 --- /dev/null +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreviewAsync.json @@ -0,0 +1,1754 @@ +{ + "Entries": [ + { + "RequestUri": "https://mohitc-acs.search.windows.net/skillsets?api-version=2020-06-30-Preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json; odata.metadata=minimal", + "api-key": "Sanitized", + "Content-Length": "3785", + "Content-Type": "application/json", + "traceparent": "00-8d0014198bf10845ada1d5ca03d241e6-3e332046d1506d43-00", + "User-Agent": [ + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + ], + "x-ms-client-request-id": "d84f0e8cf0db13addd1cd5ad44ae1794", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "fkfbvkwu", + "skills": [ + { + "defaultLanguageCode": "en", + "textSplitMode": "pages", + "maximumPageLength": 5000, + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "context": "/document/reviews_text", + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text" + }, + { + "name": "languageCode", + "source": "/document/Language" + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ] + }, + { + "defaultLanguageCode": "en", + "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", + "context": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_text/pages/*" + }, + { + "name": "languageCode", + "source": "/document/Language" + } + ], + "outputs": [ + { + "name": "score", + "targetName": "Sentiment" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "context": "/document", + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text" + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "Language" + } + ] + }, + { + "defaultLanguageCode": "en", + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "context": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_Text/pages/*" + }, + { + "name": "languageCode", + "source": "/document/Language" + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "Keyphrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", + "context": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name" + }, + { + "name": "reviews_date", + "source": "/document/reviews_date" + }, + { + "name": "reviews_rating", + "source": "/documents/reviews_rating" + }, + { + "name": "reviews_text", + "source": "/documents/reviews_text" + }, + { + "name": "reviews_title", + "source": "/document/reviews_title" + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey" + }, + { + "name": "pages", + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment" + }, + { + "name": "LanguageCode", + "source": "/document/Language" + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*" + }, + { + "name": "keyphrase", + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*" + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "output", + "targetName": "tableprojection" + } + ] + } + ], + "cognitiveServices": { + "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices" + }, + "knowledgeStore": { + "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", + "projections": [ + { + "tables": [ + { + "tableName": "hotelReviewsDocument", + "generatedKeyName": "Documentid", + "source": "/document/tableprojection" + }, + { + "tableName": "hotelReviewsPages", + "generatedKeyName": "Pagesid", + "source": "/document/tableprojection/pages/*" + }, + { + "tableName": "hotelReviewsKeyPhrases", + "generatedKeyName": "KeyPhrasesid", + "source": "/document/tableprojection/pages/*/keyphrase/*" + } + ] + }, + { + "tables": [ + { + "tableName": "hotelReviewsInlineDocument", + "generatedKeyName": "Documentid", + "sourceContext": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name" + }, + { + "name": "reviews_date", + "source": "/document/reviews_date" + }, + { + "name": "reviews_rating", + "source": "/document/reviews_rating" + }, + { + "name": "reviews_text", + "source": "/document/reviews_text" + }, + { + "name": "reviews_title", + "source": "/document/reviews_title" + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey" + } + ] + }, + { + "tableName": "hotelReviewsInlinePages", + "generatedKeyName": "Pagesid", + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment" + }, + { + "name": "LanguageCode", + "source": "/document/Language" + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*" + } + ] + }, + { + "tableName": "hotelReviewsInlineKeyPhrases", + "generatedKeyName": "kpidv2", + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*" + } + ] + } + ] + } + ] + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "d84f0e8c-f0db-13ad-dd1c-d5ad44ae1794", + "Content-Length": "5483", + "Content-Type": "application/json; odata.metadata=minimal", + "Date": "Fri, 14 May 2021 20:02:24 GMT", + "elapsed-time": "72", + "ETag": "W/\u00220x8D9171331B93A0F\u0022", + "Expires": "-1", + "Location": "https://mohitc-acs.search.windows.net/skillsets(\u0027fkfbvkwu\u0027)?api-version=2020-06-30-Preview", + "OData-Version": "4.0", + "Pragma": "no-cache", + "Preference-Applied": "odata.include-annotations=\u0022*\u0022", + "request-id": "d84f0e8c-f0db-13ad-dd1c-d5ad44ae1794", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "x-ms-client-request-id": "d84f0e8c-f0db-13ad-dd1c-d5ad44ae1794" + }, + "ResponseBody": { + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", + "@odata.etag": "\u00220x8D9171331B93A0F\u0022", + "name": "fkfbvkwu", + "description": null, + "skills": [ + { + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "name": null, + "description": null, + "context": "/document/reviews_text", + "defaultLanguageCode": "en", + "textSplitMode": "pages", + "maximumPageLength": 5000, + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", + "name": null, + "description": null, + "context": "/document/reviews_text/pages/*", + "defaultLanguageCode": "en", + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "score", + "targetName": "Sentiment" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "name": null, + "description": null, + "context": "/document", + "defaultCountryHint": null, + "modelVersion": null, + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "Language" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "name": null, + "description": null, + "context": "/document/reviews_text/pages/*", + "defaultLanguageCode": "en", + "maxKeyPhraseCount": null, + "modelVersion": null, + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_Text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "Keyphrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", + "name": null, + "description": null, + "context": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/documents/reviews_rating", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/documents/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "sourceContext": null, + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "sourceContext": null, + "inputs": [] + }, + { + "name": "pages", + "source": null, + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "sourceContext": null, + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "keyphrase", + "source": null, + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "sourceContext": null, + "inputs": [] + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "output", + "targetName": "tableprojection" + } + ] + } + ], + "cognitiveServices": { + "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices", + "description": null + }, + "knowledgeStore": { + "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", + "projections": [ + { + "tables": [ + { + "tableName": "hotelReviewsDocument", + "referenceKeyName": null, + "generatedKeyName": "Documentid", + "source": "/document/tableprojection", + "sourceContext": null, + "inputs": [] + }, + { + "tableName": "hotelReviewsPages", + "referenceKeyName": null, + "generatedKeyName": "Pagesid", + "source": "/document/tableprojection/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "tableName": "hotelReviewsKeyPhrases", + "referenceKeyName": null, + "generatedKeyName": "KeyPhrasesid", + "source": "/document/tableprojection/pages/*/keyphrase/*", + "sourceContext": null, + "inputs": [] + } + ], + "objects": [], + "files": [] + }, + { + "tables": [ + { + "tableName": "hotelReviewsInlineDocument", + "referenceKeyName": null, + "generatedKeyName": "Documentid", + "source": null, + "sourceContext": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/document/reviews_rating", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "sourceContext": null, + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "sourceContext": null, + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlinePages", + "referenceKeyName": null, + "generatedKeyName": "Pagesid", + "source": null, + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "sourceContext": null, + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlineKeyPhrases", + "referenceKeyName": null, + "generatedKeyName": "kpidv2", + "source": null, + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "sourceContext": null, + "inputs": [] + } + ] + } + ], + "objects": [], + "files": [] + } + ], + "parameters": null + }, + "encryptionKey": null + } + }, + { + "RequestUri": "https://mohitc-acs.search.windows.net/skillsets(\u0027fkfbvkwu\u0027)?api-version=2020-06-30-Preview", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json; odata.metadata=minimal", + "api-key": "Sanitized", + "Content-Length": "4274", + "Content-Type": "application/json", + "If-Match": "\u00220x8D9171331B93A0F\u0022", + "Prefer": "return=representation", + "traceparent": "00-e39a8c50f261ab4b98605a680103211e-906f9a933e9fec4c-00", + "User-Agent": [ + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + ], + "x-ms-client-request-id": "a608cf8c313f84b927d9ecf17d729414", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "fkfbvkwu", + "description": "Update description", + "skills": [ + { + "defaultLanguageCode": "en", + "textSplitMode": "pages", + "maximumPageLength": 5000, + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "context": "/document/reviews_text", + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "inputs": [] + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ] + }, + { + "defaultLanguageCode": "en", + "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", + "context": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_text/pages/*", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "inputs": [] + } + ], + "outputs": [ + { + "name": "score", + "targetName": "Sentiment" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "context": "/document", + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "inputs": [] + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "Language" + } + ] + }, + { + "defaultLanguageCode": "en", + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "context": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_Text/pages/*", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "inputs": [] + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "Keyphrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", + "context": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/documents/reviews_rating", + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/documents/reviews_text", + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "inputs": [] + }, + { + "name": "pages", + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "inputs": [] + }, + { + "name": "keyphrase", + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [] + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "output", + "targetName": "tableprojection" + } + ] + } + ], + "cognitiveServices": { + "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices" + }, + "knowledgeStore": { + "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", + "projections": [ + { + "tables": [ + { + "tableName": "hotelReviewsDocument", + "generatedKeyName": "Documentid", + "source": "/document/tableprojection", + "inputs": [] + }, + { + "tableName": "hotelReviewsPages", + "generatedKeyName": "Pagesid", + "source": "/document/tableprojection/pages/*", + "inputs": [] + }, + { + "tableName": "hotelReviewsKeyPhrases", + "generatedKeyName": "KeyPhrasesid", + "source": "/document/tableprojection/pages/*/keyphrase/*", + "inputs": [] + } + ], + "objects": [], + "files": [] + }, + { + "tables": [ + { + "tableName": "hotelReviewsInlineDocument", + "generatedKeyName": "Documentid", + "sourceContext": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/document/reviews_rating", + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/document/reviews_text", + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlinePages", + "generatedKeyName": "Pagesid", + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlineKeyPhrases", + "generatedKeyName": "kpidv2", + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [] + } + ] + } + ], + "objects": [], + "files": [] + } + ] + }, + "@odata.etag": "\u00220x8D9171331B93A0F\u0022" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "a608cf8c-313f-84b9-27d9-ecf17d729414", + "Content-Length": "5499", + "Content-Type": "application/json; odata.metadata=minimal", + "Date": "Fri, 14 May 2021 20:02:24 GMT", + "elapsed-time": "75", + "ETag": "W/\u00220x8D9171331CB3EB8\u0022", + "Expires": "-1", + "OData-Version": "4.0", + "Pragma": "no-cache", + "Preference-Applied": "odata.include-annotations=\u0022*\u0022", + "request-id": "a608cf8c-313f-84b9-27d9-ecf17d729414", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "x-ms-client-request-id": "a608cf8c-313f-84b9-27d9-ecf17d729414" + }, + "ResponseBody": { + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", + "@odata.etag": "\u00220x8D9171331CB3EB8\u0022", + "name": "fkfbvkwu", + "description": "Update description", + "skills": [ + { + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "name": null, + "description": null, + "context": "/document/reviews_text", + "defaultLanguageCode": "en", + "textSplitMode": "pages", + "maximumPageLength": 5000, + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", + "name": null, + "description": null, + "context": "/document/reviews_text/pages/*", + "defaultLanguageCode": "en", + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "score", + "targetName": "Sentiment" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "name": null, + "description": null, + "context": "/document", + "defaultCountryHint": null, + "modelVersion": null, + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "Language" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "name": null, + "description": null, + "context": "/document/reviews_text/pages/*", + "defaultLanguageCode": "en", + "maxKeyPhraseCount": null, + "modelVersion": null, + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_Text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "Keyphrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", + "name": null, + "description": null, + "context": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/documents/reviews_rating", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/documents/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "sourceContext": null, + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "sourceContext": null, + "inputs": [] + }, + { + "name": "pages", + "source": null, + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "sourceContext": null, + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "keyphrase", + "source": null, + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "sourceContext": null, + "inputs": [] + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "output", + "targetName": "tableprojection" + } + ] + } + ], + "cognitiveServices": { + "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices", + "description": null + }, + "knowledgeStore": { + "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", + "projections": [ + { + "tables": [ + { + "tableName": "hotelReviewsDocument", + "referenceKeyName": null, + "generatedKeyName": "Documentid", + "source": "/document/tableprojection", + "sourceContext": null, + "inputs": [] + }, + { + "tableName": "hotelReviewsPages", + "referenceKeyName": null, + "generatedKeyName": "Pagesid", + "source": "/document/tableprojection/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "tableName": "hotelReviewsKeyPhrases", + "referenceKeyName": null, + "generatedKeyName": "KeyPhrasesid", + "source": "/document/tableprojection/pages/*/keyphrase/*", + "sourceContext": null, + "inputs": [] + } + ], + "objects": [], + "files": [] + }, + { + "tables": [ + { + "tableName": "hotelReviewsInlineDocument", + "referenceKeyName": null, + "generatedKeyName": "Documentid", + "source": null, + "sourceContext": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/document/reviews_rating", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "sourceContext": null, + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "sourceContext": null, + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlinePages", + "referenceKeyName": null, + "generatedKeyName": "Pagesid", + "source": null, + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "sourceContext": null, + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlineKeyPhrases", + "referenceKeyName": null, + "generatedKeyName": "kpidv2", + "source": null, + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "sourceContext": null, + "inputs": [] + } + ] + } + ], + "objects": [], + "files": [] + } + ], + "parameters": null + }, + "encryptionKey": null + } + }, + { + "RequestUri": "https://mohitc-acs.search.windows.net/skillsets(\u0027fkfbvkwu\u0027)?api-version=2020-06-30-Preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json; odata.metadata=minimal", + "api-key": "Sanitized", + "traceparent": "00-6b19d1ba06ce2b4c99d432236baa525a-948b2f28626cd940-00", + "User-Agent": [ + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + ], + "x-ms-client-request-id": "b762ad043f1f1881fa227e6a287249a1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "b762ad04-3f1f-1881-fa22-7e6a287249a1", + "Content-Length": "5530", + "Content-Type": "application/json; odata.metadata=minimal", + "Date": "Fri, 14 May 2021 20:02:25 GMT", + "elapsed-time": "18", + "ETag": "W/\u00220x8D9171331CB3EB8\u0022", + "Expires": "-1", + "OData-Version": "4.0", + "Pragma": "no-cache", + "Preference-Applied": "odata.include-annotations=\u0022*\u0022", + "request-id": "b762ad04-3f1f-1881-fa22-7e6a287249a1", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "x-ms-client-request-id": "b762ad04-3f1f-1881-fa22-7e6a287249a1" + }, + "ResponseBody": { + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", + "@odata.etag": "\u00220x8D9171331CB3EB8\u0022", + "name": "fkfbvkwu", + "description": "Update description", + "skills": [ + { + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "name": "#1", + "description": null, + "context": "/document/reviews_text", + "defaultLanguageCode": "en", + "textSplitMode": "pages", + "maximumPageLength": 5000, + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", + "name": "#2", + "description": null, + "context": "/document/reviews_text/pages/*", + "defaultLanguageCode": "en", + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "score", + "targetName": "Sentiment" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "name": "#3", + "description": null, + "context": "/document", + "defaultCountryHint": null, + "modelVersion": null, + "inputs": [ + { + "name": "text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "Language" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "name": "#4", + "description": null, + "context": "/document/reviews_text/pages/*", + "defaultLanguageCode": "en", + "maxKeyPhraseCount": null, + "modelVersion": null, + "inputs": [ + { + "name": "text", + "source": "/documents/reviews_Text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "Keyphrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", + "name": "#5", + "description": null, + "context": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/documents/reviews_rating", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/documents/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "sourceContext": null, + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "sourceContext": null, + "inputs": [] + }, + { + "name": "pages", + "source": null, + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "sourceContext": null, + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "name": "keyphrase", + "source": null, + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "sourceContext": null, + "inputs": [] + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "output", + "targetName": "tableprojection" + } + ] + } + ], + "cognitiveServices": { + "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices", + "description": null + }, + "knowledgeStore": { + "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", + "projections": [ + { + "tables": [ + { + "tableName": "hotelReviewsDocument", + "referenceKeyName": null, + "generatedKeyName": "Documentid", + "source": "/document/tableprojection", + "sourceContext": null, + "inputs": [] + }, + { + "tableName": "hotelReviewsPages", + "referenceKeyName": null, + "generatedKeyName": "Pagesid", + "source": "/document/tableprojection/pages/*", + "sourceContext": null, + "inputs": [] + }, + { + "tableName": "hotelReviewsKeyPhrases", + "referenceKeyName": null, + "generatedKeyName": "KeyPhrasesid", + "source": "/document/tableprojection/pages/*/keyphrase/*", + "sourceContext": null, + "inputs": [] + } + ], + "objects": [], + "files": [] + }, + { + "tables": [ + { + "tableName": "hotelReviewsInlineDocument", + "referenceKeyName": null, + "generatedKeyName": "Documentid", + "source": null, + "sourceContext": "/document", + "inputs": [ + { + "name": "name", + "source": "/document/name", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_date", + "source": "/document/reviews_date", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_rating", + "source": "/document/reviews_rating", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_text", + "source": "/document/reviews_text", + "sourceContext": null, + "inputs": [] + }, + { + "name": "reviews_title", + "source": "/document/reviews_title", + "sourceContext": null, + "inputs": [] + }, + { + "name": "AzureSearch_DocumentKey", + "source": "/document/AzureSearch_DocumentKey", + "sourceContext": null, + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlinePages", + "referenceKeyName": null, + "generatedKeyName": "Pagesid", + "source": null, + "sourceContext": "/document/reviews_text/pages/*", + "inputs": [ + { + "name": "SentimentScore", + "source": "/document/reviews_text/pages/*/Sentiment", + "sourceContext": null, + "inputs": [] + }, + { + "name": "LanguageCode", + "source": "/document/Language", + "sourceContext": null, + "inputs": [] + }, + { + "name": "Page", + "source": "/document/reviews_text/pages/*", + "sourceContext": null, + "inputs": [] + } + ] + }, + { + "tableName": "hotelReviewsInlineKeyPhrases", + "referenceKeyName": null, + "generatedKeyName": "kpidv2", + "source": null, + "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", + "inputs": [ + { + "name": "Keyphrases", + "source": "/document/reviews_text/pages/*/Keyphrases/*", + "sourceContext": null, + "inputs": [] + } + ] + } + ], + "objects": [], + "files": [] + } + ], + "parameters": { + "synthesizeGeneratedKeyName": true + } + }, + "encryptionKey": null + } + }, + { + "RequestUri": "https://mohitc-acs.search.windows.net/skillsets(\u0027fkfbvkwu\u0027)?api-version=2020-06-30-Preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json; odata.metadata=minimal", + "api-key": "Sanitized", + "If-Match": "\u00220x8D9171331CB3EB8\u0022", + "traceparent": "00-86486789417e4c4b81f3c64b155df189-1eaa100d064c1149-00", + "User-Agent": [ + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + ], + "x-ms-client-request-id": "e8f4015801f45adf54cab00104bb966b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "e8f40158-01f4-5adf-54ca-b00104bb966b", + "Date": "Fri, 14 May 2021 20:02:25 GMT", + "elapsed-time": "29", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "e8f40158-01f4-5adf-54ca-b00104bb966b", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "x-ms-client-request-id": "e8f40158-01f4-5adf-54ca-b00104bb966b" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://mohitc-acs.search.windows.net/skillsets?$select=name\u0026api-version=2020-06-30-Preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json; odata.metadata=minimal", + "api-key": "Sanitized", + "traceparent": "00-468f7a68774a7a4aa8283ab45140038e-703c42888463584e-00", + "User-Agent": [ + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + ], + "x-ms-client-request-id": "97a9c087604c4c754defac1db34e5cb4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "97a9c087-604c-4c75-4def-ac1db34e5cb4", + "Content-Length": "134", + "Content-Type": "application/json; odata.metadata=minimal", + "Date": "Fri, 14 May 2021 20:02:25 GMT", + "elapsed-time": "6", + "Expires": "-1", + "OData-Version": "4.0", + "Pragma": "no-cache", + "Preference-Applied": "odata.include-annotations=\u0022*\u0022", + "request-id": "97a9c087-604c-4c75-4def-ac1db34e5cb4", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "x-ms-client-request-id": "97a9c087-604c-4c75-4def-ac1db34e5cb4" + }, + "ResponseBody": { + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets(name)", + "value": [ + { + "name": "pamepaud" + }, + { + "name": "wmviqrdd" + } + ] + } + }, + { + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027rjvkixnh\u0027)?api-version=2020-06-30-Preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json; odata.metadata=minimal", + "api-key": "Sanitized", + "traceparent": "00-b0c423c531e9a8408ff65d94500ff155-5e64a62a5a0e434e-00", + "User-Agent": [ + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + ], + "x-ms-client-request-id": "7c994b8fac7d031fcd0762548e80143e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "7c994b8f-ac7d-031f-cd07-62548e80143e", + "Date": "Fri, 14 May 2021 20:02:25 GMT", + "elapsed-time": "150", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "7c994b8f-ac7d-031f-cd07-62548e80143e", + "Strict-Transport-Security": "max-age=15724800; includeSubDomains", + "x-ms-client-request-id": "7c994b8f-ac7d-031f-cd07-62548e80143e" + }, + "ResponseBody": [] + } + ], + "Variables": { + "BlobContainerName": "ewcbqfii", + "RandomSeed": "1029455878", + "SearchIndexName": "rjvkixnh", + "SEARCH_ADMIN_API_KEY": "Sanitized", + "SEARCH_ENDPOINT_SUFFIX": null, + "SEARCH_SERVICE_NAME": "mohitc-acs", + "SEARCH_STORAGE_KEY": "Sanitized", + "SEARCH_STORAGE_NAME": "mohitcsablob", + "STORAGE_ENDPOINT_SUFFIX": null + } +} \ No newline at end of file diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/RoundtripAllSkills.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/RoundtripAllSkills.json index 1a73ab60c5aa8..154e8b3660441 100644 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/RoundtripAllSkills.json +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/RoundtripAllSkills.json @@ -8,10 +8,10 @@ "api-key": "Sanitized", "Content-Length": "3714", "Content-Type": "application/json", - "traceparent": "00-f5b8e741d2e3e74db966ea7035fae2e2-165e85a51ccc2446-00", + "traceparent": "00-3dc7b3cab8b0904592f0b4bf14997275-e85acf4a15aa084e-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "5d016cb905478992346230c9ebac18e1", "x-ms-return-client-request-id": "true" @@ -316,9 +316,9 @@ "client-request-id": "5d016cb9-0547-8992-3462-30c9ebac18e1", "Content-Length": "6254", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:48:33 GMT", - "elapsed-time": "96", - "ETag": "W/\u00220x8D90A97C049F9D8\u0022", + "Date": "Fri, 14 May 2021 20:47:28 GMT", + "elapsed-time": "91", + "ETag": "W/\u00220x8D917197C9CFD03\u0022", "Expires": "-1", "Location": "https://mohitc-acs.search.windows.net/skillsets(\u0027fpmjeogx\u0027)?api-version=2020-06-30-Preview", "OData-Version": "4.0", @@ -330,7 +330,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D90A97C049F9D8\u0022", + "@odata.etag": "\u00220x8D917197C9CFD03\u0022", "name": "fpmjeogx", "description": null, "skills": [ diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/RoundtripAllSkillsAsync.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/RoundtripAllSkillsAsync.json index 9a034a4da8ee4..51815b5e78b8a 100644 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/RoundtripAllSkillsAsync.json +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/RoundtripAllSkillsAsync.json @@ -8,10 +8,10 @@ "api-key": "Sanitized", "Content-Length": "3714", "Content-Type": "application/json", - "traceparent": "00-f4fbbca4489f9b4bbbda8edead8edeb4-524766a842aec640-00", + "traceparent": "00-653b3a56014e4e44b72cd5817943e476-e22011a2c2372344-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210428.1", - "(.NET Core 4.6.29812.02; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "8e39ba448961d14a4b538fa82f0f897a", "x-ms-return-client-request-id": "true" @@ -316,9 +316,9 @@ "client-request-id": "8e39ba44-8961-d14a-4b53-8fa82f0f897a", "Content-Length": "6254", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Wed, 28 Apr 2021 22:48:33 GMT", - "elapsed-time": "94", - "ETag": "W/\u00220x8D90A97C0727081\u0022", + "Date": "Fri, 14 May 2021 20:47:28 GMT", + "elapsed-time": "66", + "ETag": "W/\u00220x8D917197CCF60DE\u0022", "Expires": "-1", "Location": "https://mohitc-acs.search.windows.net/skillsets(\u0027lefvvewn\u0027)?api-version=2020-06-30-Preview", "OData-Version": "4.0", @@ -330,7 +330,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D90A97C0727081\u0022", + "@odata.etag": "\u00220x8D917197CCF60DE\u0022", "name": "lefvvewn", "description": null, "skills": [ From e2be466db9f3d79d67a246cdcad078562e41c28b Mon Sep 17 00:00:00 2001 From: Mohit Chakraborty Date: Fri, 14 May 2021 15:18:55 -0700 Subject: [PATCH 5/6] KnowledgeStore is available in current service GA --- .../tests/SearchIndexerClientTests.cs | 195 +- .../CreateAzureBlobIndexer.json | 238 ++- .../CreateAzureBlobIndexerAsync.json | 242 ++- .../CrudSkillset.json | 84 +- .../CrudSkillsetAsync.json | 80 +- .../CrudSkillsetPreview.json | 1754 ----------------- .../CrudSkillsetPreviewAsync.json | 1754 ----------------- 7 files changed, 441 insertions(+), 3906 deletions(-) delete mode 100644 sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreview.json delete mode 100644 sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreviewAsync.json diff --git a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs index ce1e066c4de44..2f31bf0179363 100644 --- a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs @@ -385,7 +385,7 @@ public async Task CrudSkillset() SearchIndexerClient client = resources.GetIndexerClient(new SearchClientOptions(ServiceVersion)); string skillsetName = Recording.Random.GetName(); - SearchIndexerSkillset skillset = CreateSkillsetModel(skillsetName); + SearchIndexerSkillset skillset = CreateSkillsetModel(skillsetName, resources); // Create the skillset. SearchIndexerSkillset createdSkillset = await client.CreateSkillsetAsync(skillset); @@ -393,110 +393,7 @@ public async Task CrudSkillset() await TestSkillsetAsync(client, skillset, createdSkillset, skillsetName); } - [Test] - [ServiceVersion(Min = SearchClientOptions.ServiceVersion.V2020_06_30_Preview)] - public async Task CrudSkillsetPreview() - { - await using SearchResources resources = await SearchResources.CreateWithBlobStorageAndIndexAsync(this); - - SearchIndexerClient client = resources.GetIndexerClient(new SearchClientOptions(ServiceVersion)); - string skillsetName = Recording.Random.GetName(); - - SearchIndexerSkillset skillset = CreateSkillsetModel(skillsetName); - - SearchIndexerKnowledgeStoreTableProjectionSelector table1 = new("hotelReviewsDocument") - { - GeneratedKeyName = "Documentid", - Source = "/document/tableprojection", - SourceContext = null, - }; - - SearchIndexerKnowledgeStoreTableProjectionSelector table2 = new("hotelReviewsPages") - { - GeneratedKeyName = "Pagesid", - Source = "/document/tableprojection/pages/*", - SourceContext = null, - }; - - SearchIndexerKnowledgeStoreTableProjectionSelector table3 = new("hotelReviewsKeyPhrases") - { - GeneratedKeyName = "KeyPhrasesid", - Source = "/document/tableprojection/pages/*/keyphrase/*", - SourceContext = null, - }; - - SearchIndexerKnowledgeStoreProjection projection1 = new() - { Tables = { table1, table2, table3} }; - - SearchIndexerKnowledgeStoreTableProjectionSelector table4 = new("hotelReviewsInlineDocument") - { - GeneratedKeyName = "Documentid", - Source = null, - SourceContext = "/document", - }; - table4.Inputs.Add(new("name") { Source = "/document/name", SourceContext = null }); - table4.Inputs.Add(new("reviews_date") { Source = "/document/reviews_date", SourceContext = null }); - table4.Inputs.Add(new("reviews_rating") { Source = "/document/reviews_rating", SourceContext = null }); - table4.Inputs.Add(new("reviews_text") { Source = "/document/reviews_text", SourceContext = null }); - table4.Inputs.Add(new("reviews_title") { Source = "/document/reviews_title", SourceContext = null }); - table4.Inputs.Add(new("AzureSearch_DocumentKey") { Source = "/document/AzureSearch_DocumentKey", SourceContext = null }); - - SearchIndexerKnowledgeStoreTableProjectionSelector table5 = new("hotelReviewsInlinePages") - { - GeneratedKeyName = "Pagesid", - Source = null, - SourceContext = "/document/reviews_text/pages/*", - }; - table5.Inputs.Add(new("SentimentScore") { Source = "/document/reviews_text/pages/*/Sentiment", SourceContext = null }); - table5.Inputs.Add(new("LanguageCode") { Source = "/document/Language", SourceContext = null }); - table5.Inputs.Add(new("Page") { Source = "/document/reviews_text/pages/*", SourceContext = null }); - - SearchIndexerKnowledgeStoreTableProjectionSelector table6 = new("hotelReviewsInlineKeyPhrases") - { - GeneratedKeyName = "kpidv2", - Source = null, - SourceContext = "/document/reviews_text/pages/*/Keyphrases/*", - }; - table6.Inputs.Add(new("Keyphrases") { Source = "/document/reviews_text/pages/*/Keyphrases/*", SourceContext = null }); - - SearchIndexerKnowledgeStoreProjection projection2 = new() - { Tables = { table4, table5, table6 } }; - - List projections = new() { projection1, projection2 }; - skillset.KnowledgeStore = new SearchIndexerKnowledgeStore(resources.StorageAccountConnectionString, projections); - - // Create the skillset. - SearchIndexerSkillset createdSkillset = await client.CreateSkillsetAsync(skillset); - - // Check the projections in the knowledge store of the skillset. - Assert.AreEqual(2, createdSkillset.KnowledgeStore.Projections.Count); - - SearchIndexerKnowledgeStoreProjection p1 = createdSkillset.KnowledgeStore.Projections[0]; - Assert.AreEqual(3, p1.Tables.Count); - Assert.AreEqual("hotelReviewsDocument", p1.Tables[0].TableName); - Assert.AreEqual(0, p1.Tables[0].Inputs.Count); - Assert.AreEqual("hotelReviewsPages", p1.Tables[1].TableName); - Assert.AreEqual(0, p1.Tables[1].Inputs.Count); - Assert.AreEqual("hotelReviewsKeyPhrases", p1.Tables[2].TableName); - Assert.AreEqual(0, p1.Tables[2].Inputs.Count); - Assert.AreEqual(0, p1.Objects.Count); - Assert.AreEqual(0, p1.Files.Count); - - SearchIndexerKnowledgeStoreProjection p2 = createdSkillset.KnowledgeStore.Projections[1]; - Assert.AreEqual(3, p2.Tables.Count); - Assert.AreEqual("hotelReviewsInlineDocument", p2.Tables[0].TableName); - Assert.AreEqual(6, p2.Tables[0].Inputs.Count); - Assert.AreEqual("hotelReviewsInlinePages", p2.Tables[1].TableName); - Assert.AreEqual(3, p2.Tables[1].Inputs.Count); - Assert.AreEqual("hotelReviewsInlineKeyPhrases", p2.Tables[2].TableName); - Assert.AreEqual(1, p2.Tables[2].Inputs.Count); - Assert.AreEqual(0, p2.Objects.Count); - Assert.AreEqual(0, p2.Files.Count); - - await TestSkillsetAsync(client, skillset, createdSkillset, skillsetName); - } - - private SearchIndexerSkillset CreateSkillsetModel(string skillsetName) + private SearchIndexerSkillset CreateSkillsetModel(string skillsetName, SearchResources resources) { // Skills based on https://github.com/Azure-Samples/azure-search-sample-data/blob/master/hotelreviews/HotelReviews_skillset.json. SearchIndexerSkill skill1 = new SplitSkill( @@ -600,6 +497,67 @@ private SearchIndexerSkillset CreateSkillsetModel(string skillsetName) CognitiveServicesAccount = new DefaultCognitiveServicesAccount(), }; + SearchIndexerKnowledgeStoreTableProjectionSelector table1 = new("hotelReviewsDocument") + { + GeneratedKeyName = "Documentid", + Source = "/document/tableprojection", + SourceContext = null, + }; + + SearchIndexerKnowledgeStoreTableProjectionSelector table2 = new("hotelReviewsPages") + { + GeneratedKeyName = "Pagesid", + Source = "/document/tableprojection/pages/*", + SourceContext = null, + }; + + SearchIndexerKnowledgeStoreTableProjectionSelector table3 = new("hotelReviewsKeyPhrases") + { + GeneratedKeyName = "KeyPhrasesid", + Source = "/document/tableprojection/pages/*/keyphrase/*", + SourceContext = null, + }; + + SearchIndexerKnowledgeStoreProjection projection1 = new() + { Tables = { table1, table2, table3 } }; + + SearchIndexerKnowledgeStoreTableProjectionSelector table4 = new("hotelReviewsInlineDocument") + { + GeneratedKeyName = "Documentid", + Source = null, + SourceContext = "/document", + }; + table4.Inputs.Add(new("name") { Source = "/document/name", SourceContext = null }); + table4.Inputs.Add(new("reviews_date") { Source = "/document/reviews_date", SourceContext = null }); + table4.Inputs.Add(new("reviews_rating") { Source = "/document/reviews_rating", SourceContext = null }); + table4.Inputs.Add(new("reviews_text") { Source = "/document/reviews_text", SourceContext = null }); + table4.Inputs.Add(new("reviews_title") { Source = "/document/reviews_title", SourceContext = null }); + table4.Inputs.Add(new("AzureSearch_DocumentKey") { Source = "/document/AzureSearch_DocumentKey", SourceContext = null }); + + SearchIndexerKnowledgeStoreTableProjectionSelector table5 = new("hotelReviewsInlinePages") + { + GeneratedKeyName = "Pagesid", + Source = null, + SourceContext = "/document/reviews_text/pages/*", + }; + table5.Inputs.Add(new("SentimentScore") { Source = "/document/reviews_text/pages/*/Sentiment", SourceContext = null }); + table5.Inputs.Add(new("LanguageCode") { Source = "/document/Language", SourceContext = null }); + table5.Inputs.Add(new("Page") { Source = "/document/reviews_text/pages/*", SourceContext = null }); + + SearchIndexerKnowledgeStoreTableProjectionSelector table6 = new("hotelReviewsInlineKeyPhrases") + { + GeneratedKeyName = "kpidv2", + Source = null, + SourceContext = "/document/reviews_text/pages/*/Keyphrases/*", + }; + table6.Inputs.Add(new("Keyphrases") { Source = "/document/reviews_text/pages/*/Keyphrases/*", SourceContext = null }); + + SearchIndexerKnowledgeStoreProjection projection2 = new() + { Tables = { table4, table5, table6 } }; + + List projections = new() { projection1, projection2 }; + skillset.KnowledgeStore = new SearchIndexerKnowledgeStore(resources.StorageAccountConnectionString, projections); + return skillset; } @@ -622,6 +580,31 @@ private async Task TestSkillsetAsync(SearchIndexerClient client, SearchIndexerSk Assert.That(skillset, Is.EqualTo(updatedSkillset).Using(SearchIndexerSkillsetComparer.Shared)); Assert.AreEqual(updatedSkillset.ETag, skillset.ETag); + // Check the projections in the knowledge store of the skillset. + Assert.AreEqual(2, skillset.KnowledgeStore.Projections.Count); + + SearchIndexerKnowledgeStoreProjection p1 = skillset.KnowledgeStore.Projections[0]; + Assert.AreEqual(3, p1.Tables.Count); + Assert.AreEqual("hotelReviewsDocument", p1.Tables[0].TableName); + Assert.AreEqual(0, p1.Tables[0].Inputs.Count); + Assert.AreEqual("hotelReviewsPages", p1.Tables[1].TableName); + Assert.AreEqual(0, p1.Tables[1].Inputs.Count); + Assert.AreEqual("hotelReviewsKeyPhrases", p1.Tables[2].TableName); + Assert.AreEqual(0, p1.Tables[2].Inputs.Count); + Assert.AreEqual(0, p1.Objects.Count); + Assert.AreEqual(0, p1.Files.Count); + + SearchIndexerKnowledgeStoreProjection p2 = skillset.KnowledgeStore.Projections[1]; + Assert.AreEqual(3, p2.Tables.Count); + Assert.AreEqual("hotelReviewsInlineDocument", p2.Tables[0].TableName); + Assert.AreEqual(6, p2.Tables[0].Inputs.Count); + Assert.AreEqual("hotelReviewsInlinePages", p2.Tables[1].TableName); + Assert.AreEqual(3, p2.Tables[1].Inputs.Count); + Assert.AreEqual("hotelReviewsInlineKeyPhrases", p2.Tables[2].TableName); + Assert.AreEqual(1, p2.Tables[2].Inputs.Count); + Assert.AreEqual(0, p2.Objects.Count); + Assert.AreEqual(0, p2.Files.Count); + // Delete the skillset. await client.DeleteSkillsetAsync(skillset, onlyIfUnchanged: true); @@ -693,7 +676,7 @@ SearchIndexerSkill CreateSkill(Type t, string[] inputNames, string[] outputNames SearchIndexerSkillset specifiedSkillset = new SearchIndexerSkillset(skillsetName, skills) { CognitiveServicesAccount = new DefaultCognitiveServicesAccount(), - KnowledgeStore = new SearchIndexerKnowledgeStore(resources.StorageAccountConnectionString, new List()) + KnowledgeStore = new SearchIndexerKnowledgeStore(resources.StorageAccountConnectionString, new List()), }; try diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CreateAzureBlobIndexer.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CreateAzureBlobIndexer.json index 76ce4c199b6e0..4fdb8aab6e027 100644 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CreateAzureBlobIndexer.json +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CreateAzureBlobIndexer.json @@ -1,17 +1,17 @@ { "Entries": [ { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/datasources?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/datasources?api-version=2020-06-30-Preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "Content-Length": "219", + "Content-Length": "216", "Content-Type": "application/json", - "traceparent": "00-0b7a9ea46076e148a6842cb74d715558-96e2f15135af6b40-00", + "traceparent": "00-b912c2f4bc5aac4481b4d15f421bd34c-324f59f188d86249-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "486ad25254309070c8083a9e1cef25f0", "x-ms-return-client-request-id": "true" @@ -20,23 +20,23 @@ "name": "frgsqbma", "type": "azureblob", "credentials": { - "connectionString": "DefaultEndpointsProtocol=https;AccountName=pakrymsearchstg;AccountKey=Sanitized;EndpointSuffix=core.windows.net" + "connectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net" }, "container": { - "name": "dmycbaap" + "name": "lpvsyhll" } }, "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "486ad252-5430-9070-c808-3a9e1cef25f0", - "Content-Length": "381", + "Content-Length": "371", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 17 Jul 2020 20:50:45 GMT", - "elapsed-time": "87", - "ETag": "W/\u00220x8D82A9313CD4E0B\u0022", + "Date": "Fri, 14 May 2021 22:15:29 GMT", + "elapsed-time": "41", + "ETag": "W/\u00220x8D91725C862C741\u0022", "Expires": "-1", - "Location": "https://azs-net-pakrymsearch.search.windows.net/datasources(\u0027frgsqbma\u0027)?api-version=2020-06-30", + "Location": "https://mohitc-acs.search.windows.net/datasources(\u0027frgsqbma\u0027)?api-version=2020-06-30-Preview", "OData-Version": "4.0", "Pragma": "no-cache", "Preference-Applied": "odata.include-annotations=\u0022*\u0022", @@ -45,8 +45,8 @@ "x-ms-client-request-id": "486ad252-5430-9070-c808-3a9e1cef25f0" }, "ResponseBody": { - "@odata.context": "https://azs-net-pakrymsearch.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D82A9313CD4E0B\u0022", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", + "@odata.etag": "\u00220x8D91725C862C741\u0022", "name": "frgsqbma", "description": null, "type": "azureblob", @@ -55,7 +55,7 @@ "connectionString": null }, "container": { - "name": "dmycbaap", + "name": "lpvsyhll", "query": null }, "dataChangeDetectionPolicy": null, @@ -64,17 +64,17 @@ } }, { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/indexers?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexers?api-version=2020-06-30-Preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", "Content-Length": "76", "Content-Type": "application/json", - "traceparent": "00-29b30a855b0c5b4a8c3f449de8de0d75-5f691a667c00034a-00", + "traceparent": "00-a07d28bda2aa024a8b9203caf5dda6fc-3f720b835851084d-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "2170341e0943733f7c962833f7f456dc", "x-ms-return-client-request-id": "true" @@ -82,19 +82,19 @@ "RequestBody": { "name": "mqmuncer", "dataSourceName": "frgsqbma", - "targetIndexName": "hljrthqm" + "targetIndexName": "lcergtdv" }, "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "2170341e-0943-733f-7c96-2833f7f456dc", - "Content-Length": "362", + "Content-Length": "365", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 17 Jul 2020 20:50:46 GMT", - "elapsed-time": "1232", - "ETag": "W/\u00220x8D82A93147C2430\u0022", + "Date": "Fri, 14 May 2021 22:15:30 GMT", + "elapsed-time": "1615", + "ETag": "W/\u00220x8D91725C947AB96\u0022", "Expires": "-1", - "Location": "https://azs-net-pakrymsearch.search.windows.net/indexers(\u0027mqmuncer\u0027)?api-version=2020-06-30", + "Location": "https://mohitc-acs.search.windows.net/indexers(\u0027mqmuncer\u0027)?api-version=2020-06-30-Preview", "OData-Version": "4.0", "Pragma": "no-cache", "Preference-Applied": "odata.include-annotations=\u0022*\u0022", @@ -103,35 +103,36 @@ "x-ms-client-request-id": "2170341e-0943-733f-7c96-2833f7f456dc" }, "ResponseBody": { - "@odata.context": "https://azs-net-pakrymsearch.search.windows.net/$metadata#indexers/$entity", - "@odata.etag": "\u00220x8D82A93147C2430\u0022", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#indexers/$entity", + "@odata.etag": "\u00220x8D91725C947AB96\u0022", "name": "mqmuncer", "description": null, "dataSourceName": "frgsqbma", "skillsetName": null, - "targetIndexName": "hljrthqm", + "targetIndexName": "lcergtdv", "disabled": null, "schedule": null, "parameters": null, "fieldMappings": [], "outputFieldMappings": [], + "cache": null, "encryptionKey": null } }, { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/indexers(\u0027mqmuncer\u0027)?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexers(\u0027mqmuncer\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", "Content-Length": "202", "Content-Type": "application/json", - "If-Match": "\u00220x8D82A93147C2430\u0022", + "If-Match": "\u00220x8D91725C947AB96\u0022", "Prefer": "return=representation", - "traceparent": "00-9819bfe49b166548a83ad9823c288cf1-17e12ada8f500c42-00", + "traceparent": "00-a71033363537214ca4e14b0bdf4cd69c-6ce7ab7b26516b48-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "7b39b864f7ddc6f90db95c5e460013d7", "x-ms-return-client-request-id": "true" @@ -140,20 +141,20 @@ "name": "mqmuncer", "description": "Updated description", "dataSourceName": "frgsqbma", - "targetIndexName": "hljrthqm", + "targetIndexName": "lcergtdv", "fieldMappings": [], "outputFieldMappings": [], - "@odata.etag": "\u00220x8D82A93147C2430\u0022" + "@odata.etag": "\u00220x8D91725C947AB96\u0022" }, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "7b39b864-f7dd-c6f9-0db9-5c5e460013d7", - "Content-Length": "379", + "Content-Length": "382", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 17 Jul 2020 20:50:46 GMT", - "elapsed-time": "110", - "ETag": "W/\u00220x8D82A9314A3625B\u0022", + "Date": "Fri, 14 May 2021 22:15:30 GMT", + "elapsed-time": "207", + "ETag": "W/\u00220x8D91725C985F874\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -163,31 +164,32 @@ "x-ms-client-request-id": "7b39b864-f7dd-c6f9-0db9-5c5e460013d7" }, "ResponseBody": { - "@odata.context": "https://azs-net-pakrymsearch.search.windows.net/$metadata#indexers/$entity", - "@odata.etag": "\u00220x8D82A9314A3625B\u0022", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#indexers/$entity", + "@odata.etag": "\u00220x8D91725C985F874\u0022", "name": "mqmuncer", "description": "Updated description", "dataSourceName": "frgsqbma", "skillsetName": null, - "targetIndexName": "hljrthqm", + "targetIndexName": "lcergtdv", "disabled": null, "schedule": null, "parameters": null, "fieldMappings": [], "outputFieldMappings": [], + "cache": null, "encryptionKey": null } }, { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/indexers(\u0027mqmuncer\u0027)/search.status?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexers(\u0027mqmuncer\u0027)/search.status?api-version=2020-06-30-Preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-db042b28ea91a349a1b7722252401c7b-96eba0343a464949-00", + "traceparent": "00-2c7cff81a5c185459abb83c19be07cc4-42f859f77aaded46-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "fb2af2e94ee4be4cc8c62185c6f1f893", "x-ms-return-client-request-id": "true" @@ -197,10 +199,10 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "fb2af2e9-4ee4-be4c-c8c6-2185c6f1f893", - "Content-Length": "1509", + "Content-Length": "2157", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 17 Jul 2020 20:50:56 GMT", - "elapsed-time": "27", + "Date": "Fri, 14 May 2021 22:15:41 GMT", + "elapsed-time": "20", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -210,18 +212,20 @@ "x-ms-client-request-id": "fb2af2e9-4ee4-be4c-c8c6-2185c6f1f893" }, "ResponseBody": { - "@odata.context": "https://azs-net-pakrymsearch.search.windows.net/$metadata#Microsoft.Azure.Search.V2020_06_30.IndexerExecutionInfo", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#Microsoft.Azure.Search.V2020_06_30_Preview.IndexerExecutionInfo", "name": "mqmuncer", "status": "running", "lastResult": { "status": "success", + "statusDetail": null, "errorMessage": null, - "startTime": "2020-07-17T20:50:47.238Z", - "endTime": "2020-07-17T20:50:55.8Z", + "startTime": "2021-05-14T22:15:31.448Z", + "endTime": "2021-05-14T22:15:32.912Z", "itemsProcessed": 10, "itemsFailed": 0, - "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222020-07-17T20:50:47.238Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", - "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222020-07-17T20:50:17.2381106\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222020-07-17T20:50:17.2381106\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T22:15:31.473Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T22:15:01.4739856\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T22:15:01.4739856\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "mode": "indexingAllDocs", "errors": [], "warnings": [], "metrics": null @@ -229,35 +233,45 @@ "executionHistory": [ { "status": "success", + "statusDetail": null, "errorMessage": null, - "startTime": "2020-07-17T20:50:47.238Z", - "endTime": "2020-07-17T20:50:55.8Z", + "startTime": "2021-05-14T22:15:31.448Z", + "endTime": "2021-05-14T22:15:32.912Z", "itemsProcessed": 10, "itemsFailed": 0, - "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222020-07-17T20:50:47.238Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", - "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222020-07-17T20:50:17.2381106\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222020-07-17T20:50:17.2381106\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T22:15:31.473Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T22:15:01.4739856\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T22:15:01.4739856\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "mode": "indexingAllDocs", "errors": [], "warnings": [], "metrics": null } ], "limits": { - "maxRunTime": "PT2M", - "maxDocumentExtractionSize": 16777216, - "maxDocumentContentCharactersToExtract": 32768 + "maxRunTime": "P1D", + "maxDocumentExtractionSize": 134217728, + "maxDocumentContentCharactersToExtract": 4194304 + }, + "currentState": { + "mode": "indexingAllDocs", + "allDocsInitialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T22:15:31.473Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "allDocsFinalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T22:15:01.4739856\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T22:15:01.4739856\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "resetDocsInitialTrackingState": null, + "resetDocsFinalTrackingState": null, + "resetDocumentKeys": [] } } }, { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/indexers(\u0027mqmuncer\u0027)/search.run?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexers(\u0027mqmuncer\u0027)/search.run?api-version=2020-06-30-Preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-157f90a41178a34c88080bd4c9b8d88d-3b8980316dd6d640-00", + "traceparent": "00-084452ff6165684b885c5518a7ffd4e7-82bca47ff985ec4e-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "228a0aea6d41269a3ba91489ade12c7c", "x-ms-return-client-request-id": "true" @@ -268,8 +282,8 @@ "Cache-Control": "no-cache", "client-request-id": "228a0aea-6d41-269a-3ba9-1489ade12c7c", "Content-Length": "0", - "Date": "Fri, 17 Jul 2020 20:50:56 GMT", - "elapsed-time": "46", + "Date": "Fri, 14 May 2021 22:15:41 GMT", + "elapsed-time": "30", "Expires": "-1", "Pragma": "no-cache", "request-id": "228a0aea-6d41-269a-3ba9-1489ade12c7c", @@ -279,15 +293,15 @@ "ResponseBody": [] }, { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/indexers(\u0027mqmuncer\u0027)/search.status?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexers(\u0027mqmuncer\u0027)/search.status?api-version=2020-06-30-Preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-c93985c1a49b3e44a6b7218d8db4eeda-cd3f5e0bbe3ca44e-00", + "traceparent": "00-7b99075b5592fd438153dffe66638d07-a266a969d9dd5041-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "044a51835bca15f86c7ab316d674ff1c", "x-ms-return-client-request-id": "true" @@ -297,9 +311,9 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "044a5183-5bca-15f8-6c7a-b316d674ff1c", - "Content-Length": "2114", + "Content-Length": "2811", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 17 Jul 2020 20:51:06 GMT", + "Date": "Fri, 14 May 2021 22:15:51 GMT", "elapsed-time": "14", "Expires": "-1", "OData-Version": "4.0", @@ -310,18 +324,20 @@ "x-ms-client-request-id": "044a5183-5bca-15f8-6c7a-b316d674ff1c" }, "ResponseBody": { - "@odata.context": "https://azs-net-pakrymsearch.search.windows.net/$metadata#Microsoft.Azure.Search.V2020_06_30.IndexerExecutionInfo", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#Microsoft.Azure.Search.V2020_06_30_Preview.IndexerExecutionInfo", "name": "mqmuncer", "status": "running", "lastResult": { "status": "success", + "statusDetail": null, "errorMessage": null, - "startTime": "2020-07-17T20:50:59.832Z", - "endTime": "2020-07-17T20:51:00.16Z", + "startTime": "2021-05-14T22:15:41.472Z", + "endTime": "2021-05-14T22:15:41.677Z", "itemsProcessed": 10, "itemsFailed": 0, - "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00222020-07-17T20:50:17.238Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222020-07-17T20:50:59.832Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", - "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222020-07-17T20:50:29.8320499\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222020-07-17T20:50:29.8320499\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00222021-05-14T22:15:01.473Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T22:15:41.477Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T22:15:11.4770188\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T22:15:11.4770188\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "mode": "indexingAllDocs", "errors": [], "warnings": [], "metrics": null @@ -329,48 +345,60 @@ "executionHistory": [ { "status": "success", + "statusDetail": null, "errorMessage": null, - "startTime": "2020-07-17T20:50:59.832Z", - "endTime": "2020-07-17T20:51:00.16Z", + "startTime": "2021-05-14T22:15:41.472Z", + "endTime": "2021-05-14T22:15:41.677Z", "itemsProcessed": 10, "itemsFailed": 0, - "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00222020-07-17T20:50:17.238Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222020-07-17T20:50:59.832Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", - "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222020-07-17T20:50:29.8320499\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222020-07-17T20:50:29.8320499\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00222021-05-14T22:15:01.473Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T22:15:41.477Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T22:15:11.4770188\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T22:15:11.4770188\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "mode": "indexingAllDocs", "errors": [], "warnings": [], "metrics": null }, { "status": "success", + "statusDetail": null, "errorMessage": null, - "startTime": "2020-07-17T20:50:47.238Z", - "endTime": "2020-07-17T20:50:55.8Z", + "startTime": "2021-05-14T22:15:31.448Z", + "endTime": "2021-05-14T22:15:32.912Z", "itemsProcessed": 10, "itemsFailed": 0, - "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222020-07-17T20:50:47.238Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", - "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222020-07-17T20:50:17.2381106\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222020-07-17T20:50:17.2381106\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T22:15:31.473Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T22:15:01.4739856\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T22:15:01.4739856\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "mode": "indexingAllDocs", "errors": [], "warnings": [], "metrics": null } ], "limits": { - "maxRunTime": "PT2M", - "maxDocumentExtractionSize": 16777216, - "maxDocumentContentCharactersToExtract": 32768 + "maxRunTime": "P1D", + "maxDocumentExtractionSize": 134217728, + "maxDocumentContentCharactersToExtract": 4194304 + }, + "currentState": { + "mode": "indexingAllDocs", + "allDocsInitialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00222021-05-14T22:15:01.473Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T22:15:41.477Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "allDocsFinalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T22:15:11.4770188\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T22:15:11.4770188\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "resetDocsInitialTrackingState": null, + "resetDocsFinalTrackingState": null, + "resetDocumentKeys": [] } } }, { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/indexes(\u0027hljrthqm\u0027)/docs/$count?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027lcergtdv\u0027)/docs/$count?api-version=2020-06-30-Preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json; odata.metadata=none", "api-key": "Sanitized", - "traceparent": "00-7cdc247644f78f47833890358aa36caa-9a4b06b5621a964b-00", + "traceparent": "00-f34d46a803acbe408b4e822b6e863270-2506b2840ed31d43-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "3b74c8c0f0767c965803bf3a3ac310e7", "x-ms-return-client-request-id": "true" @@ -382,7 +410,7 @@ "client-request-id": "3b74c8c0-f076-7c96-5803-bf3a3ac310e7", "Content-Length": "5", "Content-Type": "text/plain", - "Date": "Fri, 17 Jul 2020 20:51:06 GMT", + "Date": "Fri, 14 May 2021 22:15:51 GMT", "elapsed-time": "5", "Expires": "-1", "OData-Version": "4.0", @@ -395,15 +423,15 @@ "ResponseBody": "\uFEFF10" }, { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/indexes(\u0027hljrthqm\u0027)?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027lcergtdv\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-11615b48973a38469ddac9bfdccd3259-4b444cd619fca841-00", + "traceparent": "00-490d00246760994dac40b6a4de37ff9f-9c16fb0b32d84047-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "7501a599f4a68ec81274b6c6ba8350c7", "x-ms-return-client-request-id": "true" @@ -413,8 +441,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "7501a599-f4a6-8ec8-1274-b6c6ba8350c7", - "Date": "Fri, 17 Jul 2020 20:51:06 GMT", - "elapsed-time": "389", + "Date": "Fri, 14 May 2021 22:15:51 GMT", + "elapsed-time": "142", "Expires": "-1", "Pragma": "no-cache", "request-id": "7501a599-f4a6-8ec8-1274-b6c6ba8350c7", @@ -425,12 +453,14 @@ } ], "Variables": { - "BlobContainerName": "dmycbaap", + "BlobContainerName": "lpvsyhll", "RandomSeed": "1401021797", - "SearchIndexName": "hljrthqm", + "SearchIndexName": "lcergtdv", "SEARCH_ADMIN_API_KEY": "Sanitized", - "SEARCH_SERVICE_NAME": "azs-net-pakrymsearch", + "SEARCH_ENDPOINT_SUFFIX": null, + "SEARCH_SERVICE_NAME": "mohitc-acs", "SEARCH_STORAGE_KEY": "Sanitized", - "SEARCH_STORAGE_NAME": "pakrymsearchstg" + "SEARCH_STORAGE_NAME": "mohitcsablob", + "STORAGE_ENDPOINT_SUFFIX": null } } \ No newline at end of file diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CreateAzureBlobIndexerAsync.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CreateAzureBlobIndexerAsync.json index 2b8c2e5d26279..cdfa3dd69bc68 100644 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CreateAzureBlobIndexerAsync.json +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CreateAzureBlobIndexerAsync.json @@ -1,17 +1,17 @@ { "Entries": [ { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/datasources?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/datasources?api-version=2020-06-30-Preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "Content-Length": "219", + "Content-Length": "216", "Content-Type": "application/json", - "traceparent": "00-34b32b0b1191d344b18c4bd7006baa1a-2b012b819213474c-00", + "traceparent": "00-9775ba3c00d6d34c9955ce1d05f73aab-39a7b018cd9c0c49-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "6d41977614fabfa0e581cdfe6ec10adf", "x-ms-return-client-request-id": "true" @@ -20,23 +20,23 @@ "name": "tnufhitt", "type": "azureblob", "credentials": { - "connectionString": "DefaultEndpointsProtocol=https;AccountName=pakrymsearchstg;AccountKey=Sanitized;EndpointSuffix=core.windows.net" + "connectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net" }, "container": { - "name": "mymyvwbe" + "name": "dfcmrfqx" } }, "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "6d419776-14fa-bfa0-e581-cdfe6ec10adf", - "Content-Length": "381", + "Content-Length": "371", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 17 Jul 2020 20:51:29 GMT", - "elapsed-time": "57", - "ETag": "W/\u00220x8D82A932EE66CF3\u0022", + "Date": "Fri, 14 May 2021 22:16:37 GMT", + "elapsed-time": "35", + "ETag": "W/\u00220x8D91725F126D3F9\u0022", "Expires": "-1", - "Location": "https://azs-net-pakrymsearch.search.windows.net/datasources(\u0027tnufhitt\u0027)?api-version=2020-06-30", + "Location": "https://mohitc-acs.search.windows.net/datasources(\u0027tnufhitt\u0027)?api-version=2020-06-30-Preview", "OData-Version": "4.0", "Pragma": "no-cache", "Preference-Applied": "odata.include-annotations=\u0022*\u0022", @@ -45,8 +45,8 @@ "x-ms-client-request-id": "6d419776-14fa-bfa0-e581-cdfe6ec10adf" }, "ResponseBody": { - "@odata.context": "https://azs-net-pakrymsearch.search.windows.net/$metadata#datasources/$entity", - "@odata.etag": "\u00220x8D82A932EE66CF3\u0022", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#datasources/$entity", + "@odata.etag": "\u00220x8D91725F126D3F9\u0022", "name": "tnufhitt", "description": null, "type": "azureblob", @@ -55,7 +55,7 @@ "connectionString": null }, "container": { - "name": "mymyvwbe", + "name": "dfcmrfqx", "query": null }, "dataChangeDetectionPolicy": null, @@ -64,17 +64,17 @@ } }, { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/indexers?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexers?api-version=2020-06-30-Preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", "Content-Length": "76", "Content-Type": "application/json", - "traceparent": "00-d4a90edc8632684ca62ce4096b0bcf87-9a9a0de34e321949-00", + "traceparent": "00-784e4a3d8593484c9e7a7c5421188b86-414733074fae5e4b-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "3ee4de424fcff29c8e30f4957851a581", "x-ms-return-client-request-id": "true" @@ -82,19 +82,19 @@ "RequestBody": { "name": "hoxoyjdj", "dataSourceName": "tnufhitt", - "targetIndexName": "unmdmurc" + "targetIndexName": "ghwxxcsc" }, "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "3ee4de42-4fcf-f29c-8e30-f4957851a581", - "Content-Length": "362", + "Content-Length": "365", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 17 Jul 2020 20:51:31 GMT", - "elapsed-time": "209", - "ETag": "W/\u00220x8D82A932EF9AA51\u0022", + "Date": "Fri, 14 May 2021 22:16:37 GMT", + "elapsed-time": "309", + "ETag": "W/\u00220x8D91725F145FA6A\u0022", "Expires": "-1", - "Location": "https://azs-net-pakrymsearch.search.windows.net/indexers(\u0027hoxoyjdj\u0027)?api-version=2020-06-30", + "Location": "https://mohitc-acs.search.windows.net/indexers(\u0027hoxoyjdj\u0027)?api-version=2020-06-30-Preview", "OData-Version": "4.0", "Pragma": "no-cache", "Preference-Applied": "odata.include-annotations=\u0022*\u0022", @@ -103,35 +103,36 @@ "x-ms-client-request-id": "3ee4de42-4fcf-f29c-8e30-f4957851a581" }, "ResponseBody": { - "@odata.context": "https://azs-net-pakrymsearch.search.windows.net/$metadata#indexers/$entity", - "@odata.etag": "\u00220x8D82A932EF9AA51\u0022", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#indexers/$entity", + "@odata.etag": "\u00220x8D91725F145FA6A\u0022", "name": "hoxoyjdj", "description": null, "dataSourceName": "tnufhitt", "skillsetName": null, - "targetIndexName": "unmdmurc", + "targetIndexName": "ghwxxcsc", "disabled": null, "schedule": null, "parameters": null, "fieldMappings": [], "outputFieldMappings": [], + "cache": null, "encryptionKey": null } }, { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/indexers(\u0027hoxoyjdj\u0027)?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexers(\u0027hoxoyjdj\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", "Content-Length": "202", "Content-Type": "application/json", - "If-Match": "\u00220x8D82A932EF9AA51\u0022", + "If-Match": "\u00220x8D91725F145FA6A\u0022", "Prefer": "return=representation", - "traceparent": "00-daeceeaabb9e0f42adda7b5f1bfe1255-a1233a68e607fb4a-00", + "traceparent": "00-2b33fd316f3529499a95efea605a0612-8b598c6803d98044-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "586dc1430e6f715c3948eb4695f8a235", "x-ms-return-client-request-id": "true" @@ -140,20 +141,20 @@ "name": "hoxoyjdj", "description": "Updated description", "dataSourceName": "tnufhitt", - "targetIndexName": "unmdmurc", + "targetIndexName": "ghwxxcsc", "fieldMappings": [], "outputFieldMappings": [], - "@odata.etag": "\u00220x8D82A932EF9AA51\u0022" + "@odata.etag": "\u00220x8D91725F145FA6A\u0022" }, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "586dc143-0e6f-715c-3948-eb4695f8a235", - "Content-Length": "379", + "Content-Length": "382", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 17 Jul 2020 20:51:31 GMT", - "elapsed-time": "96", - "ETag": "W/\u00220x8D82A932F199420\u0022", + "Date": "Fri, 14 May 2021 22:16:37 GMT", + "elapsed-time": "165", + "ETag": "W/\u00220x8D91725F176B034\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -163,31 +164,32 @@ "x-ms-client-request-id": "586dc143-0e6f-715c-3948-eb4695f8a235" }, "ResponseBody": { - "@odata.context": "https://azs-net-pakrymsearch.search.windows.net/$metadata#indexers/$entity", - "@odata.etag": "\u00220x8D82A932F199420\u0022", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#indexers/$entity", + "@odata.etag": "\u00220x8D91725F176B034\u0022", "name": "hoxoyjdj", "description": "Updated description", "dataSourceName": "tnufhitt", "skillsetName": null, - "targetIndexName": "unmdmurc", + "targetIndexName": "ghwxxcsc", "disabled": null, "schedule": null, "parameters": null, "fieldMappings": [], "outputFieldMappings": [], + "cache": null, "encryptionKey": null } }, { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/indexers(\u0027hoxoyjdj\u0027)/search.status?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexers(\u0027hoxoyjdj\u0027)/search.status?api-version=2020-06-30-Preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-c3ce6879f997114ca6298ca9a03afb92-4e8a1c627b79dc4b-00", + "traceparent": "00-6fe3ffe58b659744903cd53cd558e8c2-a5df09953eb2bd4f-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "1c2b7f4b613095efe5db703ecd7567b7", "x-ms-return-client-request-id": "true" @@ -197,10 +199,10 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "1c2b7f4b-6130-95ef-e5db-703ecd7567b7", - "Content-Length": "1513", + "Content-Length": "2157", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 17 Jul 2020 20:51:41 GMT", - "elapsed-time": "15", + "Date": "Fri, 14 May 2021 22:16:48 GMT", + "elapsed-time": "12", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -210,18 +212,20 @@ "x-ms-client-request-id": "1c2b7f4b-6130-95ef-e5db-703ecd7567b7" }, "ResponseBody": { - "@odata.context": "https://azs-net-pakrymsearch.search.windows.net/$metadata#Microsoft.Azure.Search.V2020_06_30.IndexerExecutionInfo", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#Microsoft.Azure.Search.V2020_06_30_Preview.IndexerExecutionInfo", "name": "hoxoyjdj", "status": "running", "lastResult": { "status": "success", + "statusDetail": null, "errorMessage": null, - "startTime": "2020-07-17T20:51:32.857Z", - "endTime": "2020-07-17T20:51:34.654Z", + "startTime": "2021-05-14T22:16:41.567Z", + "endTime": "2021-05-14T22:16:41.912Z", "itemsProcessed": 10, "itemsFailed": 0, - "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222020-07-17T20:51:32.857Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", - "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222020-07-17T20:51:02.8571422\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222020-07-17T20:51:02.8571422\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T22:16:41.572Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T22:16:11.5725416\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T22:16:11.5725416\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "mode": "indexingAllDocs", "errors": [], "warnings": [], "metrics": null @@ -229,35 +233,45 @@ "executionHistory": [ { "status": "success", + "statusDetail": null, "errorMessage": null, - "startTime": "2020-07-17T20:51:32.857Z", - "endTime": "2020-07-17T20:51:34.654Z", + "startTime": "2021-05-14T22:16:41.567Z", + "endTime": "2021-05-14T22:16:41.912Z", "itemsProcessed": 10, "itemsFailed": 0, - "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222020-07-17T20:51:32.857Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", - "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222020-07-17T20:51:02.8571422\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222020-07-17T20:51:02.8571422\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T22:16:41.572Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T22:16:11.5725416\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T22:16:11.5725416\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "mode": "indexingAllDocs", "errors": [], "warnings": [], "metrics": null } ], "limits": { - "maxRunTime": "PT2M", - "maxDocumentExtractionSize": 16777216, - "maxDocumentContentCharactersToExtract": 32768 + "maxRunTime": "P1D", + "maxDocumentExtractionSize": 134217728, + "maxDocumentContentCharactersToExtract": 4194304 + }, + "currentState": { + "mode": "indexingAllDocs", + "allDocsInitialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T22:16:41.572Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "allDocsFinalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T22:16:11.5725416\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T22:16:11.5725416\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "resetDocsInitialTrackingState": null, + "resetDocsFinalTrackingState": null, + "resetDocumentKeys": [] } } }, { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/indexers(\u0027hoxoyjdj\u0027)/search.run?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexers(\u0027hoxoyjdj\u0027)/search.run?api-version=2020-06-30-Preview", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-fb65161bf4090b479f3c08f299f145af-8086bbe78f569f48-00", + "traceparent": "00-51802c334c98a24f8fa0d9aaf6ec4ae5-b48312da27b81743-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "3780faa3f2d233518172058763555c95", "x-ms-return-client-request-id": "true" @@ -268,8 +282,8 @@ "Cache-Control": "no-cache", "client-request-id": "3780faa3-f2d2-3351-8172-058763555c95", "Content-Length": "0", - "Date": "Fri, 17 Jul 2020 20:51:41 GMT", - "elapsed-time": "50", + "Date": "Fri, 14 May 2021 22:16:48 GMT", + "elapsed-time": "30", "Expires": "-1", "Pragma": "no-cache", "request-id": "3780faa3-f2d2-3351-8172-058763555c95", @@ -279,15 +293,15 @@ "ResponseBody": [] }, { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/indexers(\u0027hoxoyjdj\u0027)/search.status?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexers(\u0027hoxoyjdj\u0027)/search.status?api-version=2020-06-30-Preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-e062ae48ee791a4d9f8213fee7ef9ee0-a5bb5ac326d1f043-00", + "traceparent": "00-5638d5365658ca4794e02d6c6b7b641f-afa31b8c9895fc41-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "f849be8d8926e150d1d873949d1ea4c4", "x-ms-return-client-request-id": "true" @@ -297,10 +311,10 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "f849be8d-8926-e150-d1d8-73949d1ea4c4", - "Content-Length": "2116", + "Content-Length": "2811", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 17 Jul 2020 20:51:51 GMT", - "elapsed-time": "23", + "Date": "Fri, 14 May 2021 22:16:58 GMT", + "elapsed-time": "14", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -310,18 +324,20 @@ "x-ms-client-request-id": "f849be8d-8926-e150-d1d8-73949d1ea4c4" }, "ResponseBody": { - "@odata.context": "https://azs-net-pakrymsearch.search.windows.net/$metadata#Microsoft.Azure.Search.V2020_06_30.IndexerExecutionInfo", + "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#Microsoft.Azure.Search.V2020_06_30_Preview.IndexerExecutionInfo", "name": "hoxoyjdj", "status": "running", "lastResult": { "status": "success", + "statusDetail": null, "errorMessage": null, - "startTime": "2020-07-17T20:51:42.904Z", - "endTime": "2020-07-17T20:51:43.17Z", + "startTime": "2021-05-14T22:16:51.604Z", + "endTime": "2021-05-14T22:16:51.809Z", "itemsProcessed": 10, "itemsFailed": 0, - "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00222020-07-17T20:51:02.857Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222020-07-17T20:51:42.904Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", - "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222020-07-17T20:51:12.9047544\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222020-07-17T20:51:12.9047544\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00222021-05-14T22:16:11.572Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T22:16:51.609Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T22:16:21.6099376\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T22:16:21.6099376\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "mode": "indexingAllDocs", "errors": [], "warnings": [], "metrics": null @@ -329,48 +345,60 @@ "executionHistory": [ { "status": "success", + "statusDetail": null, "errorMessage": null, - "startTime": "2020-07-17T20:51:42.904Z", - "endTime": "2020-07-17T20:51:43.17Z", + "startTime": "2021-05-14T22:16:51.604Z", + "endTime": "2021-05-14T22:16:51.809Z", "itemsProcessed": 10, "itemsFailed": 0, - "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00222020-07-17T20:51:02.857Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222020-07-17T20:51:42.904Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", - "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222020-07-17T20:51:12.9047544\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222020-07-17T20:51:12.9047544\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00222021-05-14T22:16:11.572Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T22:16:51.609Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T22:16:21.6099376\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T22:16:21.6099376\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "mode": "indexingAllDocs", "errors": [], "warnings": [], "metrics": null }, { "status": "success", + "statusDetail": null, "errorMessage": null, - "startTime": "2020-07-17T20:51:32.857Z", - "endTime": "2020-07-17T20:51:34.654Z", + "startTime": "2021-05-14T22:16:41.567Z", + "endTime": "2021-05-14T22:16:41.912Z", "itemsProcessed": 10, "itemsFailed": 0, - "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222020-07-17T20:51:32.857Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", - "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222020-07-17T20:51:02.8571422\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222020-07-17T20:51:02.8571422\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "initialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00220001-01-01T00:00:00Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T22:16:41.572Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "finalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T22:16:11.5725416\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T22:16:11.5725416\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "mode": "indexingAllDocs", "errors": [], "warnings": [], "metrics": null } ], "limits": { - "maxRunTime": "PT2M", - "maxDocumentExtractionSize": 16777216, - "maxDocumentContentCharactersToExtract": 32768 + "maxRunTime": "P1D", + "maxDocumentExtractionSize": 134217728, + "maxDocumentContentCharactersToExtract": 4194304 + }, + "currentState": { + "mode": "indexingAllDocs", + "allDocsInitialTrackingState": "{\r\n \u0022lastFullEnumerationStartTime\u0022: \u00222021-05-14T22:16:11.572Z\u0022,\r\n \u0022lastAttemptedEnumerationStartTime\u0022: \u00222021-05-14T22:16:51.609Z\u0022,\r\n \u0022nameHighWaterMark\u0022: null\r\n}", + "allDocsFinalTrackingState": "{\u0022LastFullEnumerationStartTime\u0022:\u00222021-05-14T22:16:21.6099376\u002B00:00\u0022,\u0022LastAttemptedEnumerationStartTime\u0022:\u00222021-05-14T22:16:21.6099376\u002B00:00\u0022,\u0022NameHighWaterMark\u0022:null}", + "resetDocsInitialTrackingState": null, + "resetDocsFinalTrackingState": null, + "resetDocumentKeys": [] } } }, { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/indexes(\u0027unmdmurc\u0027)/docs/$count?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027ghwxxcsc\u0027)/docs/$count?api-version=2020-06-30-Preview", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json; odata.metadata=none", "api-key": "Sanitized", - "traceparent": "00-7adf6f82bf456645b6984254f1ab51d9-969c23e985ef2941-00", + "traceparent": "00-b6ca8b294c542442869c74a359e52bed-2133ce18aef75a43-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "9aa334e06a7759632ef79abe5c68318f", "x-ms-return-client-request-id": "true" @@ -382,8 +410,8 @@ "client-request-id": "9aa334e0-6a77-5963-2ef7-9abe5c68318f", "Content-Length": "5", "Content-Type": "text/plain", - "Date": "Fri, 17 Jul 2020 20:51:51 GMT", - "elapsed-time": "48", + "Date": "Fri, 14 May 2021 22:16:58 GMT", + "elapsed-time": "4", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -395,15 +423,15 @@ "ResponseBody": "\uFEFF10" }, { - "RequestUri": "https://azs-net-pakrymsearch.search.windows.net/indexes(\u0027unmdmurc\u0027)?api-version=2020-06-30", + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027ghwxxcsc\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-4def64087dfb5f4fa4bb7feca8e03488-3c12faa3cbac4944-00", + "traceparent": "00-d73558248ac9934d9ee7c801f9fc3a03-0639f1295834624b-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.1.0-dev.20200717.1", - "(.NET Framework 4.8.4180.0; Microsoft Windows 10.0.18363 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "0fb0da7e6e2b1a91a99e66fa7ebc9563", "x-ms-return-client-request-id": "true" @@ -413,8 +441,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "0fb0da7e-6e2b-1a91-a99e-66fa7ebc9563", - "Date": "Fri, 17 Jul 2020 20:51:51 GMT", - "elapsed-time": "392", + "Date": "Fri, 14 May 2021 22:16:58 GMT", + "elapsed-time": "168", "Expires": "-1", "Pragma": "no-cache", "request-id": "0fb0da7e-6e2b-1a91-a99e-66fa7ebc9563", @@ -425,12 +453,14 @@ } ], "Variables": { - "BlobContainerName": "mymyvwbe", + "BlobContainerName": "dfcmrfqx", "RandomSeed": "939854059", - "SearchIndexName": "unmdmurc", + "SearchIndexName": "ghwxxcsc", "SEARCH_ADMIN_API_KEY": "Sanitized", - "SEARCH_SERVICE_NAME": "azs-net-pakrymsearch", + "SEARCH_ENDPOINT_SUFFIX": null, + "SEARCH_SERVICE_NAME": "mohitc-acs", "SEARCH_STORAGE_KEY": "Sanitized", - "SEARCH_STORAGE_NAME": "pakrymsearchstg" + "SEARCH_STORAGE_NAME": "mohitcsablob", + "STORAGE_ENDPOINT_SUFFIX": null } } \ No newline at end of file diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillset.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillset.json index 67c176a95cf7c..0e193f3a5a7ab 100644 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillset.json +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillset.json @@ -8,10 +8,10 @@ "api-key": "Sanitized", "Content-Length": "3785", "Content-Type": "application/json", - "traceparent": "00-44806c14fcfafd4bb189af51d1f87b44-c888f0f6f8312c43-00", + "traceparent": "00-ba9e5f30f979324b85c89a9ab08bf345-97d94d362464f74c-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "cc67333577d57c372321678152235344", "x-ms-return-client-request-id": "true" @@ -264,9 +264,9 @@ "client-request-id": "cc673335-77d5-7c37-2321-678152235344", "Content-Length": "5483", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 13 May 2021 17:35:45 GMT", - "elapsed-time": "2136", - "ETag": "W/\u00220x8D916358A0AF36A\u0022", + "Date": "Fri, 14 May 2021 22:16:14 GMT", + "elapsed-time": "78", + "ETag": "W/\u00220x8D91725E3506B59\u0022", "Expires": "-1", "Location": "https://mohitc-acs.search.windows.net/skillsets(\u0027pamepaud\u0027)?api-version=2020-06-30-Preview", "OData-Version": "4.0", @@ -278,7 +278,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D916358A0AF36A\u0022", + "@odata.etag": "\u00220x8D91725E3506B59\u0022", "name": "pamepaud", "description": null, "skills": [ @@ -622,12 +622,12 @@ "api-key": "Sanitized", "Content-Length": "4274", "Content-Type": "application/json", - "If-Match": "\u00220x8D916358A0AF36A\u0022", + "If-Match": "\u00220x8D91725E3506B59\u0022", "Prefer": "return=representation", - "traceparent": "00-63e1779e3ed556499ad4321ae377d499-be7e1b2437c0fc40-00", + "traceparent": "00-b93f671faa75e24f97aade10bf7d42b4-1acd9d08a1523845-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "90e4167c583d4f65c1157d7c68338cd1", "x-ms-return-client-request-id": "true" @@ -908,7 +908,7 @@ } ] }, - "@odata.etag": "\u00220x8D916358A0AF36A\u0022" + "@odata.etag": "\u00220x8D91725E3506B59\u0022" }, "StatusCode": 200, "ResponseHeaders": { @@ -916,9 +916,9 @@ "client-request-id": "90e4167c-583d-4f65-c115-7d7c68338cd1", "Content-Length": "5499", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 13 May 2021 17:35:45 GMT", - "elapsed-time": "125", - "ETag": "W/\u00220x8D916358A9F864A\u0022", + "Date": "Fri, 14 May 2021 22:16:14 GMT", + "elapsed-time": "77", + "ETag": "W/\u00220x8D91725E3630C67\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -929,7 +929,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D916358A9F864A\u0022", + "@odata.etag": "\u00220x8D91725E3630C67\u0022", "name": "pamepaud", "description": "Update description", "skills": [ @@ -1271,10 +1271,10 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-17e3a2c34d34cd458b50bf1b1ff4c5b7-f9d81caa38f72241-00", + "traceparent": "00-66dd20ca26fab34091520a0b7af3d5d5-f5b4dce2d72e7249-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "818e3109e05f32d66ddd992e5836e49f", "x-ms-return-client-request-id": "true" @@ -1286,9 +1286,9 @@ "client-request-id": "818e3109-e05f-32d6-6ddd-992e5836e49f", "Content-Length": "5530", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 13 May 2021 17:35:46 GMT", - "elapsed-time": "46", - "ETag": "W/\u00220x8D916358A9F864A\u0022", + "Date": "Fri, 14 May 2021 22:16:14 GMT", + "elapsed-time": "20", + "ETag": "W/\u00220x8D91725E3630C67\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -1299,7 +1299,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D916358A9F864A\u0022", + "@odata.etag": "\u00220x8D91725E3630C67\u0022", "name": "pamepaud", "description": "Update description", "skills": [ @@ -1643,11 +1643,11 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "If-Match": "\u00220x8D916358A9F864A\u0022", - "traceparent": "00-a4b173ebb0a4f14fa648e5a351a516ef-d06cc47c15dd2942-00", + "If-Match": "\u00220x8D91725E3630C67\u0022", + "traceparent": "00-f4a1baaa68788a4aaada710984390f82-27b37f422ff3484c-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "5eb0fd6765dcddfecd170bc0faba14ef", "x-ms-return-client-request-id": "true" @@ -1657,8 +1657,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "5eb0fd67-65dc-ddfe-cd17-0bc0faba14ef", - "Date": "Thu, 13 May 2021 17:35:46 GMT", - "elapsed-time": "48", + "Date": "Fri, 14 May 2021 22:16:14 GMT", + "elapsed-time": "32", "Expires": "-1", "Pragma": "no-cache", "request-id": "5eb0fd67-65dc-ddfe-cd17-0bc0faba14ef", @@ -1673,10 +1673,10 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-af42e5500d5aeb46b3b6f316ac2680a3-0fec4811376d4a4e-00", + "traceparent": "00-d60f0dd65d996d498adcd24e29d503f2-2f4b0fb12cf47841-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "20789595d2959be440b12260be36f68b", "x-ms-return-client-request-id": "true" @@ -1688,8 +1688,8 @@ "client-request-id": "20789595-d295-9be4-40b1-2260be36f68b", "Content-Length": "95", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 13 May 2021 17:35:46 GMT", - "elapsed-time": "125", + "Date": "Fri, 14 May 2021 22:16:14 GMT", + "elapsed-time": "6", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -1704,15 +1704,15 @@ } }, { - "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027xjevriaw\u0027)?api-version=2020-06-30-Preview", + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027sxtthtth\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-2d30f049edd3684786749fee75905ff0-f9eb4b728dcb914f-00", + "traceparent": "00-3f252f316e709646b19affa9ef866525-63c9c0888f0fb24c-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "6a15de312d83a3f533b0b348d51538b2", "x-ms-return-client-request-id": "true" @@ -1722,8 +1722,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "6a15de31-2d83-a3f5-33b0-b348d51538b2", - "Date": "Thu, 13 May 2021 17:35:49 GMT", - "elapsed-time": "204", + "Date": "Fri, 14 May 2021 22:16:14 GMT", + "elapsed-time": "158", "Expires": "-1", "Pragma": "no-cache", "request-id": "6a15de31-2d83-a3f5-33b0-b348d51538b2", @@ -1734,9 +1734,9 @@ } ], "Variables": { - "BlobContainerName": "ednoxnuw", + "BlobContainerName": "mfbfucxp", "RandomSeed": "95508446", - "SearchIndexName": "xjevriaw", + "SearchIndexName": "sxtthtth", "SEARCH_ADMIN_API_KEY": "Sanitized", "SEARCH_ENDPOINT_SUFFIX": null, "SEARCH_SERVICE_NAME": "mohitc-acs", diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetAsync.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetAsync.json index bccb903ca143c..a8df522f56819 100644 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetAsync.json +++ b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetAsync.json @@ -8,10 +8,10 @@ "api-key": "Sanitized", "Content-Length": "3785", "Content-Type": "application/json", - "traceparent": "00-22cb0dfc895b86479f6a19586b634b4a-47aeaf5562338b41-00", + "traceparent": "00-552f4bac91bacb478f81bcb76685d64b-42822ba7143ea24b-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "0dea3d3b17b185f4c9b18e55f3aeabcb", "x-ms-return-client-request-id": "true" @@ -264,9 +264,9 @@ "client-request-id": "0dea3d3b-17b1-85f4-c9b1-8e55f3aeabcb", "Content-Length": "5483", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 13 May 2021 17:36:53 GMT", - "elapsed-time": "83", - "ETag": "W/\u00220x8D91635B2638052\u0022", + "Date": "Fri, 14 May 2021 22:17:21 GMT", + "elapsed-time": "85", + "ETag": "W/\u00220x8D917260B405FA7\u0022", "Expires": "-1", "Location": "https://mohitc-acs.search.windows.net/skillsets(\u0027wmviqrdd\u0027)?api-version=2020-06-30-Preview", "OData-Version": "4.0", @@ -278,7 +278,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D91635B2638052\u0022", + "@odata.etag": "\u00220x8D917260B405FA7\u0022", "name": "wmviqrdd", "description": null, "skills": [ @@ -622,12 +622,12 @@ "api-key": "Sanitized", "Content-Length": "4274", "Content-Type": "application/json", - "If-Match": "\u00220x8D91635B2638052\u0022", + "If-Match": "\u00220x8D917260B405FA7\u0022", "Prefer": "return=representation", - "traceparent": "00-ca397ff64096204a8a6cc2d2ea3dcecc-671fc9dd8e113343-00", + "traceparent": "00-22a5f3a8096fab47b372df8997073aa0-0f677b9dac23da4d-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "732939573cf56ee1dac818da12ea768c", "x-ms-return-client-request-id": "true" @@ -908,7 +908,7 @@ } ] }, - "@odata.etag": "\u00220x8D91635B2638052\u0022" + "@odata.etag": "\u00220x8D917260B405FA7\u0022" }, "StatusCode": 200, "ResponseHeaders": { @@ -916,9 +916,9 @@ "client-request-id": "73293957-3cf5-6ee1-dac8-18da12ea768c", "Content-Length": "5499", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 13 May 2021 17:36:53 GMT", - "elapsed-time": "76", - "ETag": "W/\u00220x8D91635B2D8294E\u0022", + "Date": "Fri, 14 May 2021 22:17:21 GMT", + "elapsed-time": "96", + "ETag": "W/\u00220x8D917260B5300B1\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -929,7 +929,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D91635B2D8294E\u0022", + "@odata.etag": "\u00220x8D917260B5300B1\u0022", "name": "wmviqrdd", "description": "Update description", "skills": [ @@ -1271,10 +1271,10 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-888814758d31974bb330110b065f70ca-d872cf9a47650d4d-00", + "traceparent": "00-fcdece5216703d4fad002d828cf06ea7-3f4d24c973ed1a43-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "4aa65c66418122d836018835b1aa4d21", "x-ms-return-client-request-id": "true" @@ -1286,9 +1286,9 @@ "client-request-id": "4aa65c66-4181-22d8-3601-8835b1aa4d21", "Content-Length": "5530", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 13 May 2021 17:36:53 GMT", + "Date": "Fri, 14 May 2021 22:17:21 GMT", "elapsed-time": "19", - "ETag": "W/\u00220x8D91635B2D8294E\u0022", + "ETag": "W/\u00220x8D917260B5300B1\u0022", "Expires": "-1", "OData-Version": "4.0", "Pragma": "no-cache", @@ -1299,7 +1299,7 @@ }, "ResponseBody": { "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D91635B2D8294E\u0022", + "@odata.etag": "\u00220x8D917260B5300B1\u0022", "name": "wmviqrdd", "description": "Update description", "skills": [ @@ -1643,11 +1643,11 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "If-Match": "\u00220x8D91635B2D8294E\u0022", - "traceparent": "00-7a61a94b7bb9eb449bf6dc30d8564f00-f9c8c956bc060940-00", + "If-Match": "\u00220x8D917260B5300B1\u0022", + "traceparent": "00-b0a8b89c59327d43a6d6645e23c113c2-7a938013c8c9ab41-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "ceac00024630fe495c7b33e8ff1972de", "x-ms-return-client-request-id": "true" @@ -1657,8 +1657,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "ceac0002-4630-fe49-5c7b-33e8ff1972de", - "Date": "Thu, 13 May 2021 17:36:53 GMT", - "elapsed-time": "28", + "Date": "Fri, 14 May 2021 22:17:21 GMT", + "elapsed-time": "30", "Expires": "-1", "Pragma": "no-cache", "request-id": "ceac0002-4630-fe49-5c7b-33e8ff1972de", @@ -1673,10 +1673,10 @@ "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-abf72a6044ae6f44bab5191c1d234f54-f6540ed4bfa02a48-00", + "traceparent": "00-32b988aa867dbe4a99caa67e4e334c6e-a1ebdfd18dccba41-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "96ef023b6107164a60073df4b3abbd2f", "x-ms-return-client-request-id": "true" @@ -1688,7 +1688,7 @@ "client-request-id": "96ef023b-6107-164a-6007-3df4b3abbd2f", "Content-Length": "95", "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Thu, 13 May 2021 17:36:53 GMT", + "Date": "Fri, 14 May 2021 22:17:21 GMT", "elapsed-time": "6", "Expires": "-1", "OData-Version": "4.0", @@ -1704,15 +1704,15 @@ } }, { - "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027bbplrgtp\u0027)?api-version=2020-06-30-Preview", + "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027ajuyldlr\u0027)?api-version=2020-06-30-Preview", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json; odata.metadata=minimal", "api-key": "Sanitized", - "traceparent": "00-0c6ffce9ad1ba9479a760e4245121686-68dc27c495bb8c4a-00", + "traceparent": "00-922a3e618ef43a449c28cfe34760ef3d-b2b69130b1ba254c-00", "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210513.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" + "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", + "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" ], "x-ms-client-request-id": "11d8f67ba73e205c13a8ee060def221c", "x-ms-return-client-request-id": "true" @@ -1722,8 +1722,8 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "client-request-id": "11d8f67b-a73e-205c-13a8-ee060def221c", - "Date": "Thu, 13 May 2021 17:36:54 GMT", - "elapsed-time": "189", + "Date": "Fri, 14 May 2021 22:17:21 GMT", + "elapsed-time": "132", "Expires": "-1", "Pragma": "no-cache", "request-id": "11d8f67b-a73e-205c-13a8-ee060def221c", @@ -1734,9 +1734,9 @@ } ], "Variables": { - "BlobContainerName": "xgbawdje", + "BlobContainerName": "hweaswai", "RandomSeed": "234438998", - "SearchIndexName": "bbplrgtp", + "SearchIndexName": "ajuyldlr", "SEARCH_ADMIN_API_KEY": "Sanitized", "SEARCH_ENDPOINT_SUFFIX": null, "SEARCH_SERVICE_NAME": "mohitc-acs", diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreview.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreview.json deleted file mode 100644 index 753882b3ac3f5..0000000000000 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreview.json +++ /dev/null @@ -1,1754 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://mohitc-acs.search.windows.net/skillsets?api-version=2020-06-30-Preview", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json; odata.metadata=minimal", - "api-key": "Sanitized", - "Content-Length": "3785", - "Content-Type": "application/json", - "traceparent": "00-f00b008920f305498551638294c97f1c-823eb880e3f26042-00", - "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "c8af53997e5cd16b41dee18b7e747e76", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "name": "olrvndje", - "skills": [ - { - "defaultLanguageCode": "en", - "textSplitMode": "pages", - "maximumPageLength": 5000, - "@odata.type": "#Microsoft.Skills.Text.SplitSkill", - "context": "/document/reviews_text", - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text" - }, - { - "name": "languageCode", - "source": "/document/Language" - } - ], - "outputs": [ - { - "name": "textItems", - "targetName": "pages" - } - ] - }, - { - "defaultLanguageCode": "en", - "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", - "context": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_text/pages/*" - }, - { - "name": "languageCode", - "source": "/document/Language" - } - ], - "outputs": [ - { - "name": "score", - "targetName": "Sentiment" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", - "context": "/document", - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text" - } - ], - "outputs": [ - { - "name": "languageCode", - "targetName": "Language" - } - ] - }, - { - "defaultLanguageCode": "en", - "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", - "context": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_Text/pages/*" - }, - { - "name": "languageCode", - "source": "/document/Language" - } - ], - "outputs": [ - { - "name": "keyPhrases", - "targetName": "Keyphrases" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", - "context": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name" - }, - { - "name": "reviews_date", - "source": "/document/reviews_date" - }, - { - "name": "reviews_rating", - "source": "/documents/reviews_rating" - }, - { - "name": "reviews_text", - "source": "/documents/reviews_text" - }, - { - "name": "reviews_title", - "source": "/document/reviews_title" - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey" - }, - { - "name": "pages", - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment" - }, - { - "name": "LanguageCode", - "source": "/document/Language" - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*" - }, - { - "name": "keyphrase", - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*" - } - ] - } - ] - } - ], - "outputs": [ - { - "name": "output", - "targetName": "tableprojection" - } - ] - } - ], - "cognitiveServices": { - "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices" - }, - "knowledgeStore": { - "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", - "projections": [ - { - "tables": [ - { - "tableName": "hotelReviewsDocument", - "generatedKeyName": "Documentid", - "source": "/document/tableprojection" - }, - { - "tableName": "hotelReviewsPages", - "generatedKeyName": "Pagesid", - "source": "/document/tableprojection/pages/*" - }, - { - "tableName": "hotelReviewsKeyPhrases", - "generatedKeyName": "KeyPhrasesid", - "source": "/document/tableprojection/pages/*/keyphrase/*" - } - ] - }, - { - "tables": [ - { - "tableName": "hotelReviewsInlineDocument", - "generatedKeyName": "Documentid", - "sourceContext": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name" - }, - { - "name": "reviews_date", - "source": "/document/reviews_date" - }, - { - "name": "reviews_rating", - "source": "/document/reviews_rating" - }, - { - "name": "reviews_text", - "source": "/document/reviews_text" - }, - { - "name": "reviews_title", - "source": "/document/reviews_title" - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey" - } - ] - }, - { - "tableName": "hotelReviewsInlinePages", - "generatedKeyName": "Pagesid", - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment" - }, - { - "name": "LanguageCode", - "source": "/document/Language" - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*" - } - ] - }, - { - "tableName": "hotelReviewsInlineKeyPhrases", - "generatedKeyName": "kpidv2", - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*" - } - ] - } - ] - } - ] - } - }, - "StatusCode": 201, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "client-request-id": "c8af5399-7e5c-d16b-41de-e18b7e747e76", - "Content-Length": "5483", - "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 14 May 2021 20:00:52 GMT", - "elapsed-time": "103", - "ETag": "W/\u00220x8D91712FA885AB5\u0022", - "Expires": "-1", - "Location": "https://mohitc-acs.search.windows.net/skillsets(\u0027olrvndje\u0027)?api-version=2020-06-30-Preview", - "OData-Version": "4.0", - "Pragma": "no-cache", - "Preference-Applied": "odata.include-annotations=\u0022*\u0022", - "request-id": "c8af5399-7e5c-d16b-41de-e18b7e747e76", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-client-request-id": "c8af5399-7e5c-d16b-41de-e18b7e747e76" - }, - "ResponseBody": { - "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D91712FA885AB5\u0022", - "name": "olrvndje", - "description": null, - "skills": [ - { - "@odata.type": "#Microsoft.Skills.Text.SplitSkill", - "name": null, - "description": null, - "context": "/document/reviews_text", - "defaultLanguageCode": "en", - "textSplitMode": "pages", - "maximumPageLength": 5000, - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "textItems", - "targetName": "pages" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", - "name": null, - "description": null, - "context": "/document/reviews_text/pages/*", - "defaultLanguageCode": "en", - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "score", - "targetName": "Sentiment" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", - "name": null, - "description": null, - "context": "/document", - "defaultCountryHint": null, - "modelVersion": null, - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "languageCode", - "targetName": "Language" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", - "name": null, - "description": null, - "context": "/document/reviews_text/pages/*", - "defaultLanguageCode": "en", - "maxKeyPhraseCount": null, - "modelVersion": null, - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_Text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "keyPhrases", - "targetName": "Keyphrases" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", - "name": null, - "description": null, - "context": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/documents/reviews_rating", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/documents/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "sourceContext": null, - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "sourceContext": null, - "inputs": [] - }, - { - "name": "pages", - "source": null, - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "sourceContext": null, - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "keyphrase", - "source": null, - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "sourceContext": null, - "inputs": [] - } - ] - } - ] - } - ], - "outputs": [ - { - "name": "output", - "targetName": "tableprojection" - } - ] - } - ], - "cognitiveServices": { - "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices", - "description": null - }, - "knowledgeStore": { - "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", - "projections": [ - { - "tables": [ - { - "tableName": "hotelReviewsDocument", - "referenceKeyName": null, - "generatedKeyName": "Documentid", - "source": "/document/tableprojection", - "sourceContext": null, - "inputs": [] - }, - { - "tableName": "hotelReviewsPages", - "referenceKeyName": null, - "generatedKeyName": "Pagesid", - "source": "/document/tableprojection/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "tableName": "hotelReviewsKeyPhrases", - "referenceKeyName": null, - "generatedKeyName": "KeyPhrasesid", - "source": "/document/tableprojection/pages/*/keyphrase/*", - "sourceContext": null, - "inputs": [] - } - ], - "objects": [], - "files": [] - }, - { - "tables": [ - { - "tableName": "hotelReviewsInlineDocument", - "referenceKeyName": null, - "generatedKeyName": "Documentid", - "source": null, - "sourceContext": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/document/reviews_rating", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "sourceContext": null, - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "sourceContext": null, - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlinePages", - "referenceKeyName": null, - "generatedKeyName": "Pagesid", - "source": null, - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "sourceContext": null, - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlineKeyPhrases", - "referenceKeyName": null, - "generatedKeyName": "kpidv2", - "source": null, - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "sourceContext": null, - "inputs": [] - } - ] - } - ], - "objects": [], - "files": [] - } - ], - "parameters": null - }, - "encryptionKey": null - } - }, - { - "RequestUri": "https://mohitc-acs.search.windows.net/skillsets(\u0027olrvndje\u0027)?api-version=2020-06-30-Preview", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json; odata.metadata=minimal", - "api-key": "Sanitized", - "Content-Length": "4274", - "Content-Type": "application/json", - "If-Match": "\u00220x8D91712FA885AB5\u0022", - "Prefer": "return=representation", - "traceparent": "00-3ec2fd46b30b6b42811af3547f31fd47-19ffa46d9bb2e046-00", - "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "dab506cf82922c8e5d0166b16d14b969", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "name": "olrvndje", - "description": "Update description", - "skills": [ - { - "defaultLanguageCode": "en", - "textSplitMode": "pages", - "maximumPageLength": 5000, - "@odata.type": "#Microsoft.Skills.Text.SplitSkill", - "context": "/document/reviews_text", - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "inputs": [] - } - ], - "outputs": [ - { - "name": "textItems", - "targetName": "pages" - } - ] - }, - { - "defaultLanguageCode": "en", - "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", - "context": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_text/pages/*", - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "inputs": [] - } - ], - "outputs": [ - { - "name": "score", - "targetName": "Sentiment" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", - "context": "/document", - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "inputs": [] - } - ], - "outputs": [ - { - "name": "languageCode", - "targetName": "Language" - } - ] - }, - { - "defaultLanguageCode": "en", - "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", - "context": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_Text/pages/*", - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "inputs": [] - } - ], - "outputs": [ - { - "name": "keyPhrases", - "targetName": "Keyphrases" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", - "context": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/documents/reviews_rating", - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/documents/reviews_text", - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "inputs": [] - }, - { - "name": "pages", - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "inputs": [] - }, - { - "name": "keyphrase", - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [] - } - ] - } - ] - } - ], - "outputs": [ - { - "name": "output", - "targetName": "tableprojection" - } - ] - } - ], - "cognitiveServices": { - "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices" - }, - "knowledgeStore": { - "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", - "projections": [ - { - "tables": [ - { - "tableName": "hotelReviewsDocument", - "generatedKeyName": "Documentid", - "source": "/document/tableprojection", - "inputs": [] - }, - { - "tableName": "hotelReviewsPages", - "generatedKeyName": "Pagesid", - "source": "/document/tableprojection/pages/*", - "inputs": [] - }, - { - "tableName": "hotelReviewsKeyPhrases", - "generatedKeyName": "KeyPhrasesid", - "source": "/document/tableprojection/pages/*/keyphrase/*", - "inputs": [] - } - ], - "objects": [], - "files": [] - }, - { - "tables": [ - { - "tableName": "hotelReviewsInlineDocument", - "generatedKeyName": "Documentid", - "sourceContext": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/document/reviews_rating", - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/document/reviews_text", - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlinePages", - "generatedKeyName": "Pagesid", - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlineKeyPhrases", - "generatedKeyName": "kpidv2", - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [] - } - ] - } - ], - "objects": [], - "files": [] - } - ] - }, - "@odata.etag": "\u00220x8D91712FA885AB5\u0022" - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "client-request-id": "dab506cf-8292-2c8e-5d01-66b16d14b969", - "Content-Length": "5499", - "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 14 May 2021 20:00:52 GMT", - "elapsed-time": "79", - "ETag": "W/\u00220x8D91712FA9CF7E8\u0022", - "Expires": "-1", - "OData-Version": "4.0", - "Pragma": "no-cache", - "Preference-Applied": "odata.include-annotations=\u0022*\u0022", - "request-id": "dab506cf-8292-2c8e-5d01-66b16d14b969", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-client-request-id": "dab506cf-8292-2c8e-5d01-66b16d14b969" - }, - "ResponseBody": { - "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D91712FA9CF7E8\u0022", - "name": "olrvndje", - "description": "Update description", - "skills": [ - { - "@odata.type": "#Microsoft.Skills.Text.SplitSkill", - "name": null, - "description": null, - "context": "/document/reviews_text", - "defaultLanguageCode": "en", - "textSplitMode": "pages", - "maximumPageLength": 5000, - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "textItems", - "targetName": "pages" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", - "name": null, - "description": null, - "context": "/document/reviews_text/pages/*", - "defaultLanguageCode": "en", - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "score", - "targetName": "Sentiment" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", - "name": null, - "description": null, - "context": "/document", - "defaultCountryHint": null, - "modelVersion": null, - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "languageCode", - "targetName": "Language" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", - "name": null, - "description": null, - "context": "/document/reviews_text/pages/*", - "defaultLanguageCode": "en", - "maxKeyPhraseCount": null, - "modelVersion": null, - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_Text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "keyPhrases", - "targetName": "Keyphrases" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", - "name": null, - "description": null, - "context": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/documents/reviews_rating", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/documents/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "sourceContext": null, - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "sourceContext": null, - "inputs": [] - }, - { - "name": "pages", - "source": null, - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "sourceContext": null, - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "keyphrase", - "source": null, - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "sourceContext": null, - "inputs": [] - } - ] - } - ] - } - ], - "outputs": [ - { - "name": "output", - "targetName": "tableprojection" - } - ] - } - ], - "cognitiveServices": { - "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices", - "description": null - }, - "knowledgeStore": { - "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", - "projections": [ - { - "tables": [ - { - "tableName": "hotelReviewsDocument", - "referenceKeyName": null, - "generatedKeyName": "Documentid", - "source": "/document/tableprojection", - "sourceContext": null, - "inputs": [] - }, - { - "tableName": "hotelReviewsPages", - "referenceKeyName": null, - "generatedKeyName": "Pagesid", - "source": "/document/tableprojection/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "tableName": "hotelReviewsKeyPhrases", - "referenceKeyName": null, - "generatedKeyName": "KeyPhrasesid", - "source": "/document/tableprojection/pages/*/keyphrase/*", - "sourceContext": null, - "inputs": [] - } - ], - "objects": [], - "files": [] - }, - { - "tables": [ - { - "tableName": "hotelReviewsInlineDocument", - "referenceKeyName": null, - "generatedKeyName": "Documentid", - "source": null, - "sourceContext": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/document/reviews_rating", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "sourceContext": null, - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "sourceContext": null, - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlinePages", - "referenceKeyName": null, - "generatedKeyName": "Pagesid", - "source": null, - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "sourceContext": null, - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlineKeyPhrases", - "referenceKeyName": null, - "generatedKeyName": "kpidv2", - "source": null, - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "sourceContext": null, - "inputs": [] - } - ] - } - ], - "objects": [], - "files": [] - } - ], - "parameters": null - }, - "encryptionKey": null - } - }, - { - "RequestUri": "https://mohitc-acs.search.windows.net/skillsets(\u0027olrvndje\u0027)?api-version=2020-06-30-Preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json; odata.metadata=minimal", - "api-key": "Sanitized", - "traceparent": "00-bd8f64ad5f7bae4b9b12b703df722d3e-941ac6677b157f41-00", - "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "3d315e227a0339a11ab34d73c47c89dd", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "client-request-id": "3d315e22-7a03-39a1-1ab3-4d73c47c89dd", - "Content-Length": "5530", - "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 14 May 2021 20:00:52 GMT", - "elapsed-time": "18", - "ETag": "W/\u00220x8D91712FA9CF7E8\u0022", - "Expires": "-1", - "OData-Version": "4.0", - "Pragma": "no-cache", - "Preference-Applied": "odata.include-annotations=\u0022*\u0022", - "request-id": "3d315e22-7a03-39a1-1ab3-4d73c47c89dd", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-client-request-id": "3d315e22-7a03-39a1-1ab3-4d73c47c89dd" - }, - "ResponseBody": { - "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D91712FA9CF7E8\u0022", - "name": "olrvndje", - "description": "Update description", - "skills": [ - { - "@odata.type": "#Microsoft.Skills.Text.SplitSkill", - "name": "#1", - "description": null, - "context": "/document/reviews_text", - "defaultLanguageCode": "en", - "textSplitMode": "pages", - "maximumPageLength": 5000, - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "textItems", - "targetName": "pages" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", - "name": "#2", - "description": null, - "context": "/document/reviews_text/pages/*", - "defaultLanguageCode": "en", - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "score", - "targetName": "Sentiment" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", - "name": "#3", - "description": null, - "context": "/document", - "defaultCountryHint": null, - "modelVersion": null, - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "languageCode", - "targetName": "Language" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", - "name": "#4", - "description": null, - "context": "/document/reviews_text/pages/*", - "defaultLanguageCode": "en", - "maxKeyPhraseCount": null, - "modelVersion": null, - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_Text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "keyPhrases", - "targetName": "Keyphrases" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", - "name": "#5", - "description": null, - "context": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/documents/reviews_rating", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/documents/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "sourceContext": null, - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "sourceContext": null, - "inputs": [] - }, - { - "name": "pages", - "source": null, - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "sourceContext": null, - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "keyphrase", - "source": null, - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "sourceContext": null, - "inputs": [] - } - ] - } - ] - } - ], - "outputs": [ - { - "name": "output", - "targetName": "tableprojection" - } - ] - } - ], - "cognitiveServices": { - "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices", - "description": null - }, - "knowledgeStore": { - "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", - "projections": [ - { - "tables": [ - { - "tableName": "hotelReviewsDocument", - "referenceKeyName": null, - "generatedKeyName": "Documentid", - "source": "/document/tableprojection", - "sourceContext": null, - "inputs": [] - }, - { - "tableName": "hotelReviewsPages", - "referenceKeyName": null, - "generatedKeyName": "Pagesid", - "source": "/document/tableprojection/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "tableName": "hotelReviewsKeyPhrases", - "referenceKeyName": null, - "generatedKeyName": "KeyPhrasesid", - "source": "/document/tableprojection/pages/*/keyphrase/*", - "sourceContext": null, - "inputs": [] - } - ], - "objects": [], - "files": [] - }, - { - "tables": [ - { - "tableName": "hotelReviewsInlineDocument", - "referenceKeyName": null, - "generatedKeyName": "Documentid", - "source": null, - "sourceContext": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/document/reviews_rating", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "sourceContext": null, - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "sourceContext": null, - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlinePages", - "referenceKeyName": null, - "generatedKeyName": "Pagesid", - "source": null, - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "sourceContext": null, - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlineKeyPhrases", - "referenceKeyName": null, - "generatedKeyName": "kpidv2", - "source": null, - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "sourceContext": null, - "inputs": [] - } - ] - } - ], - "objects": [], - "files": [] - } - ], - "parameters": { - "synthesizeGeneratedKeyName": true - } - }, - "encryptionKey": null - } - }, - { - "RequestUri": "https://mohitc-acs.search.windows.net/skillsets(\u0027olrvndje\u0027)?api-version=2020-06-30-Preview", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json; odata.metadata=minimal", - "api-key": "Sanitized", - "If-Match": "\u00220x8D91712FA9CF7E8\u0022", - "traceparent": "00-cc81a6407161014c8c8fd4fd847b8c68-21438e7e47e41944-00", - "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "b155d2ba057916c2c5826a5b18ba632d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "client-request-id": "b155d2ba-0579-16c2-c582-6a5b18ba632d", - "Date": "Fri, 14 May 2021 20:00:52 GMT", - "elapsed-time": "28", - "Expires": "-1", - "Pragma": "no-cache", - "request-id": "b155d2ba-0579-16c2-c582-6a5b18ba632d", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-client-request-id": "b155d2ba-0579-16c2-c582-6a5b18ba632d" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://mohitc-acs.search.windows.net/skillsets?$select=name\u0026api-version=2020-06-30-Preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json; odata.metadata=minimal", - "api-key": "Sanitized", - "traceparent": "00-a20b36dc6cd8e64b87da974df12de156-0a2147675ac61c46-00", - "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "1f69782441435473647cbfdf341b68e1", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "client-request-id": "1f697824-4143-5473-647c-bfdf341b68e1", - "Content-Length": "134", - "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 14 May 2021 20:00:52 GMT", - "elapsed-time": "7", - "Expires": "-1", - "OData-Version": "4.0", - "Pragma": "no-cache", - "Preference-Applied": "odata.include-annotations=\u0022*\u0022", - "request-id": "1f697824-4143-5473-647c-bfdf341b68e1", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-client-request-id": "1f697824-4143-5473-647c-bfdf341b68e1" - }, - "ResponseBody": { - "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets(name)", - "value": [ - { - "name": "pamepaud" - }, - { - "name": "wmviqrdd" - } - ] - } - }, - { - "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027jbuajwjk\u0027)?api-version=2020-06-30-Preview", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json; odata.metadata=minimal", - "api-key": "Sanitized", - "traceparent": "00-fb1b550727b8fd40b974615ec8ca3600-5e333a50fd4e4f4b-00", - "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "9af6887707be1df09b1a77800f462060", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "client-request-id": "9af68877-07be-1df0-9b1a-77800f462060", - "Date": "Fri, 14 May 2021 20:00:52 GMT", - "elapsed-time": "155", - "Expires": "-1", - "Pragma": "no-cache", - "request-id": "9af68877-07be-1df0-9b1a-77800f462060", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-client-request-id": "9af68877-07be-1df0-9b1a-77800f462060" - }, - "ResponseBody": [] - } - ], - "Variables": { - "BlobContainerName": "tlvteujw", - "RandomSeed": "1642481062", - "SearchIndexName": "jbuajwjk", - "SEARCH_ADMIN_API_KEY": "Sanitized", - "SEARCH_ENDPOINT_SUFFIX": null, - "SEARCH_SERVICE_NAME": "mohitc-acs", - "SEARCH_STORAGE_KEY": "Sanitized", - "SEARCH_STORAGE_NAME": "mohitcsablob", - "STORAGE_ENDPOINT_SUFFIX": null - } -} \ No newline at end of file diff --git a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreviewAsync.json b/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreviewAsync.json deleted file mode 100644 index 09c48cf5c1c61..0000000000000 --- a/sdk/search/Azure.Search.Documents/tests/SessionRecords/SearchIndexerClientTests/CrudSkillsetPreviewAsync.json +++ /dev/null @@ -1,1754 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://mohitc-acs.search.windows.net/skillsets?api-version=2020-06-30-Preview", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json; odata.metadata=minimal", - "api-key": "Sanitized", - "Content-Length": "3785", - "Content-Type": "application/json", - "traceparent": "00-8d0014198bf10845ada1d5ca03d241e6-3e332046d1506d43-00", - "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "d84f0e8cf0db13addd1cd5ad44ae1794", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "name": "fkfbvkwu", - "skills": [ - { - "defaultLanguageCode": "en", - "textSplitMode": "pages", - "maximumPageLength": 5000, - "@odata.type": "#Microsoft.Skills.Text.SplitSkill", - "context": "/document/reviews_text", - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text" - }, - { - "name": "languageCode", - "source": "/document/Language" - } - ], - "outputs": [ - { - "name": "textItems", - "targetName": "pages" - } - ] - }, - { - "defaultLanguageCode": "en", - "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", - "context": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_text/pages/*" - }, - { - "name": "languageCode", - "source": "/document/Language" - } - ], - "outputs": [ - { - "name": "score", - "targetName": "Sentiment" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", - "context": "/document", - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text" - } - ], - "outputs": [ - { - "name": "languageCode", - "targetName": "Language" - } - ] - }, - { - "defaultLanguageCode": "en", - "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", - "context": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_Text/pages/*" - }, - { - "name": "languageCode", - "source": "/document/Language" - } - ], - "outputs": [ - { - "name": "keyPhrases", - "targetName": "Keyphrases" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", - "context": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name" - }, - { - "name": "reviews_date", - "source": "/document/reviews_date" - }, - { - "name": "reviews_rating", - "source": "/documents/reviews_rating" - }, - { - "name": "reviews_text", - "source": "/documents/reviews_text" - }, - { - "name": "reviews_title", - "source": "/document/reviews_title" - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey" - }, - { - "name": "pages", - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment" - }, - { - "name": "LanguageCode", - "source": "/document/Language" - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*" - }, - { - "name": "keyphrase", - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*" - } - ] - } - ] - } - ], - "outputs": [ - { - "name": "output", - "targetName": "tableprojection" - } - ] - } - ], - "cognitiveServices": { - "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices" - }, - "knowledgeStore": { - "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", - "projections": [ - { - "tables": [ - { - "tableName": "hotelReviewsDocument", - "generatedKeyName": "Documentid", - "source": "/document/tableprojection" - }, - { - "tableName": "hotelReviewsPages", - "generatedKeyName": "Pagesid", - "source": "/document/tableprojection/pages/*" - }, - { - "tableName": "hotelReviewsKeyPhrases", - "generatedKeyName": "KeyPhrasesid", - "source": "/document/tableprojection/pages/*/keyphrase/*" - } - ] - }, - { - "tables": [ - { - "tableName": "hotelReviewsInlineDocument", - "generatedKeyName": "Documentid", - "sourceContext": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name" - }, - { - "name": "reviews_date", - "source": "/document/reviews_date" - }, - { - "name": "reviews_rating", - "source": "/document/reviews_rating" - }, - { - "name": "reviews_text", - "source": "/document/reviews_text" - }, - { - "name": "reviews_title", - "source": "/document/reviews_title" - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey" - } - ] - }, - { - "tableName": "hotelReviewsInlinePages", - "generatedKeyName": "Pagesid", - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment" - }, - { - "name": "LanguageCode", - "source": "/document/Language" - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*" - } - ] - }, - { - "tableName": "hotelReviewsInlineKeyPhrases", - "generatedKeyName": "kpidv2", - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*" - } - ] - } - ] - } - ] - } - }, - "StatusCode": 201, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "client-request-id": "d84f0e8c-f0db-13ad-dd1c-d5ad44ae1794", - "Content-Length": "5483", - "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 14 May 2021 20:02:24 GMT", - "elapsed-time": "72", - "ETag": "W/\u00220x8D9171331B93A0F\u0022", - "Expires": "-1", - "Location": "https://mohitc-acs.search.windows.net/skillsets(\u0027fkfbvkwu\u0027)?api-version=2020-06-30-Preview", - "OData-Version": "4.0", - "Pragma": "no-cache", - "Preference-Applied": "odata.include-annotations=\u0022*\u0022", - "request-id": "d84f0e8c-f0db-13ad-dd1c-d5ad44ae1794", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-client-request-id": "d84f0e8c-f0db-13ad-dd1c-d5ad44ae1794" - }, - "ResponseBody": { - "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D9171331B93A0F\u0022", - "name": "fkfbvkwu", - "description": null, - "skills": [ - { - "@odata.type": "#Microsoft.Skills.Text.SplitSkill", - "name": null, - "description": null, - "context": "/document/reviews_text", - "defaultLanguageCode": "en", - "textSplitMode": "pages", - "maximumPageLength": 5000, - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "textItems", - "targetName": "pages" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", - "name": null, - "description": null, - "context": "/document/reviews_text/pages/*", - "defaultLanguageCode": "en", - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "score", - "targetName": "Sentiment" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", - "name": null, - "description": null, - "context": "/document", - "defaultCountryHint": null, - "modelVersion": null, - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "languageCode", - "targetName": "Language" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", - "name": null, - "description": null, - "context": "/document/reviews_text/pages/*", - "defaultLanguageCode": "en", - "maxKeyPhraseCount": null, - "modelVersion": null, - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_Text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "keyPhrases", - "targetName": "Keyphrases" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", - "name": null, - "description": null, - "context": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/documents/reviews_rating", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/documents/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "sourceContext": null, - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "sourceContext": null, - "inputs": [] - }, - { - "name": "pages", - "source": null, - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "sourceContext": null, - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "keyphrase", - "source": null, - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "sourceContext": null, - "inputs": [] - } - ] - } - ] - } - ], - "outputs": [ - { - "name": "output", - "targetName": "tableprojection" - } - ] - } - ], - "cognitiveServices": { - "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices", - "description": null - }, - "knowledgeStore": { - "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", - "projections": [ - { - "tables": [ - { - "tableName": "hotelReviewsDocument", - "referenceKeyName": null, - "generatedKeyName": "Documentid", - "source": "/document/tableprojection", - "sourceContext": null, - "inputs": [] - }, - { - "tableName": "hotelReviewsPages", - "referenceKeyName": null, - "generatedKeyName": "Pagesid", - "source": "/document/tableprojection/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "tableName": "hotelReviewsKeyPhrases", - "referenceKeyName": null, - "generatedKeyName": "KeyPhrasesid", - "source": "/document/tableprojection/pages/*/keyphrase/*", - "sourceContext": null, - "inputs": [] - } - ], - "objects": [], - "files": [] - }, - { - "tables": [ - { - "tableName": "hotelReviewsInlineDocument", - "referenceKeyName": null, - "generatedKeyName": "Documentid", - "source": null, - "sourceContext": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/document/reviews_rating", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "sourceContext": null, - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "sourceContext": null, - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlinePages", - "referenceKeyName": null, - "generatedKeyName": "Pagesid", - "source": null, - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "sourceContext": null, - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlineKeyPhrases", - "referenceKeyName": null, - "generatedKeyName": "kpidv2", - "source": null, - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "sourceContext": null, - "inputs": [] - } - ] - } - ], - "objects": [], - "files": [] - } - ], - "parameters": null - }, - "encryptionKey": null - } - }, - { - "RequestUri": "https://mohitc-acs.search.windows.net/skillsets(\u0027fkfbvkwu\u0027)?api-version=2020-06-30-Preview", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json; odata.metadata=minimal", - "api-key": "Sanitized", - "Content-Length": "4274", - "Content-Type": "application/json", - "If-Match": "\u00220x8D9171331B93A0F\u0022", - "Prefer": "return=representation", - "traceparent": "00-e39a8c50f261ab4b98605a680103211e-906f9a933e9fec4c-00", - "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "a608cf8c313f84b927d9ecf17d729414", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "name": "fkfbvkwu", - "description": "Update description", - "skills": [ - { - "defaultLanguageCode": "en", - "textSplitMode": "pages", - "maximumPageLength": 5000, - "@odata.type": "#Microsoft.Skills.Text.SplitSkill", - "context": "/document/reviews_text", - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "inputs": [] - } - ], - "outputs": [ - { - "name": "textItems", - "targetName": "pages" - } - ] - }, - { - "defaultLanguageCode": "en", - "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", - "context": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_text/pages/*", - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "inputs": [] - } - ], - "outputs": [ - { - "name": "score", - "targetName": "Sentiment" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", - "context": "/document", - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "inputs": [] - } - ], - "outputs": [ - { - "name": "languageCode", - "targetName": "Language" - } - ] - }, - { - "defaultLanguageCode": "en", - "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", - "context": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_Text/pages/*", - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "inputs": [] - } - ], - "outputs": [ - { - "name": "keyPhrases", - "targetName": "Keyphrases" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", - "context": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/documents/reviews_rating", - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/documents/reviews_text", - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "inputs": [] - }, - { - "name": "pages", - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "inputs": [] - }, - { - "name": "keyphrase", - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [] - } - ] - } - ] - } - ], - "outputs": [ - { - "name": "output", - "targetName": "tableprojection" - } - ] - } - ], - "cognitiveServices": { - "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices" - }, - "knowledgeStore": { - "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", - "projections": [ - { - "tables": [ - { - "tableName": "hotelReviewsDocument", - "generatedKeyName": "Documentid", - "source": "/document/tableprojection", - "inputs": [] - }, - { - "tableName": "hotelReviewsPages", - "generatedKeyName": "Pagesid", - "source": "/document/tableprojection/pages/*", - "inputs": [] - }, - { - "tableName": "hotelReviewsKeyPhrases", - "generatedKeyName": "KeyPhrasesid", - "source": "/document/tableprojection/pages/*/keyphrase/*", - "inputs": [] - } - ], - "objects": [], - "files": [] - }, - { - "tables": [ - { - "tableName": "hotelReviewsInlineDocument", - "generatedKeyName": "Documentid", - "sourceContext": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/document/reviews_rating", - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/document/reviews_text", - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlinePages", - "generatedKeyName": "Pagesid", - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlineKeyPhrases", - "generatedKeyName": "kpidv2", - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [] - } - ] - } - ], - "objects": [], - "files": [] - } - ] - }, - "@odata.etag": "\u00220x8D9171331B93A0F\u0022" - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "client-request-id": "a608cf8c-313f-84b9-27d9-ecf17d729414", - "Content-Length": "5499", - "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 14 May 2021 20:02:24 GMT", - "elapsed-time": "75", - "ETag": "W/\u00220x8D9171331CB3EB8\u0022", - "Expires": "-1", - "OData-Version": "4.0", - "Pragma": "no-cache", - "Preference-Applied": "odata.include-annotations=\u0022*\u0022", - "request-id": "a608cf8c-313f-84b9-27d9-ecf17d729414", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-client-request-id": "a608cf8c-313f-84b9-27d9-ecf17d729414" - }, - "ResponseBody": { - "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D9171331CB3EB8\u0022", - "name": "fkfbvkwu", - "description": "Update description", - "skills": [ - { - "@odata.type": "#Microsoft.Skills.Text.SplitSkill", - "name": null, - "description": null, - "context": "/document/reviews_text", - "defaultLanguageCode": "en", - "textSplitMode": "pages", - "maximumPageLength": 5000, - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "textItems", - "targetName": "pages" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", - "name": null, - "description": null, - "context": "/document/reviews_text/pages/*", - "defaultLanguageCode": "en", - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "score", - "targetName": "Sentiment" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", - "name": null, - "description": null, - "context": "/document", - "defaultCountryHint": null, - "modelVersion": null, - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "languageCode", - "targetName": "Language" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", - "name": null, - "description": null, - "context": "/document/reviews_text/pages/*", - "defaultLanguageCode": "en", - "maxKeyPhraseCount": null, - "modelVersion": null, - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_Text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "keyPhrases", - "targetName": "Keyphrases" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", - "name": null, - "description": null, - "context": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/documents/reviews_rating", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/documents/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "sourceContext": null, - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "sourceContext": null, - "inputs": [] - }, - { - "name": "pages", - "source": null, - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "sourceContext": null, - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "keyphrase", - "source": null, - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "sourceContext": null, - "inputs": [] - } - ] - } - ] - } - ], - "outputs": [ - { - "name": "output", - "targetName": "tableprojection" - } - ] - } - ], - "cognitiveServices": { - "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices", - "description": null - }, - "knowledgeStore": { - "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", - "projections": [ - { - "tables": [ - { - "tableName": "hotelReviewsDocument", - "referenceKeyName": null, - "generatedKeyName": "Documentid", - "source": "/document/tableprojection", - "sourceContext": null, - "inputs": [] - }, - { - "tableName": "hotelReviewsPages", - "referenceKeyName": null, - "generatedKeyName": "Pagesid", - "source": "/document/tableprojection/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "tableName": "hotelReviewsKeyPhrases", - "referenceKeyName": null, - "generatedKeyName": "KeyPhrasesid", - "source": "/document/tableprojection/pages/*/keyphrase/*", - "sourceContext": null, - "inputs": [] - } - ], - "objects": [], - "files": [] - }, - { - "tables": [ - { - "tableName": "hotelReviewsInlineDocument", - "referenceKeyName": null, - "generatedKeyName": "Documentid", - "source": null, - "sourceContext": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/document/reviews_rating", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "sourceContext": null, - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "sourceContext": null, - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlinePages", - "referenceKeyName": null, - "generatedKeyName": "Pagesid", - "source": null, - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "sourceContext": null, - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlineKeyPhrases", - "referenceKeyName": null, - "generatedKeyName": "kpidv2", - "source": null, - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "sourceContext": null, - "inputs": [] - } - ] - } - ], - "objects": [], - "files": [] - } - ], - "parameters": null - }, - "encryptionKey": null - } - }, - { - "RequestUri": "https://mohitc-acs.search.windows.net/skillsets(\u0027fkfbvkwu\u0027)?api-version=2020-06-30-Preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json; odata.metadata=minimal", - "api-key": "Sanitized", - "traceparent": "00-6b19d1ba06ce2b4c99d432236baa525a-948b2f28626cd940-00", - "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "b762ad043f1f1881fa227e6a287249a1", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "client-request-id": "b762ad04-3f1f-1881-fa22-7e6a287249a1", - "Content-Length": "5530", - "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 14 May 2021 20:02:25 GMT", - "elapsed-time": "18", - "ETag": "W/\u00220x8D9171331CB3EB8\u0022", - "Expires": "-1", - "OData-Version": "4.0", - "Pragma": "no-cache", - "Preference-Applied": "odata.include-annotations=\u0022*\u0022", - "request-id": "b762ad04-3f1f-1881-fa22-7e6a287249a1", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-client-request-id": "b762ad04-3f1f-1881-fa22-7e6a287249a1" - }, - "ResponseBody": { - "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets/$entity", - "@odata.etag": "\u00220x8D9171331CB3EB8\u0022", - "name": "fkfbvkwu", - "description": "Update description", - "skills": [ - { - "@odata.type": "#Microsoft.Skills.Text.SplitSkill", - "name": "#1", - "description": null, - "context": "/document/reviews_text", - "defaultLanguageCode": "en", - "textSplitMode": "pages", - "maximumPageLength": 5000, - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "textItems", - "targetName": "pages" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.SentimentSkill", - "name": "#2", - "description": null, - "context": "/document/reviews_text/pages/*", - "defaultLanguageCode": "en", - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "score", - "targetName": "Sentiment" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", - "name": "#3", - "description": null, - "context": "/document", - "defaultCountryHint": null, - "modelVersion": null, - "inputs": [ - { - "name": "text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "languageCode", - "targetName": "Language" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", - "name": "#4", - "description": null, - "context": "/document/reviews_text/pages/*", - "defaultLanguageCode": "en", - "maxKeyPhraseCount": null, - "modelVersion": null, - "inputs": [ - { - "name": "text", - "source": "/documents/reviews_Text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "languageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - } - ], - "outputs": [ - { - "name": "keyPhrases", - "targetName": "Keyphrases" - } - ] - }, - { - "@odata.type": "#Microsoft.Skills.Util.ShaperSkill", - "name": "#5", - "description": null, - "context": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/documents/reviews_rating", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/documents/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "sourceContext": null, - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "sourceContext": null, - "inputs": [] - }, - { - "name": "pages", - "source": null, - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "sourceContext": null, - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "name": "keyphrase", - "source": null, - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "sourceContext": null, - "inputs": [] - } - ] - } - ] - } - ], - "outputs": [ - { - "name": "output", - "targetName": "tableprojection" - } - ] - } - ], - "cognitiveServices": { - "@odata.type": "#Microsoft.Azure.Search.DefaultCognitiveServices", - "description": null - }, - "knowledgeStore": { - "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=mohitcsablob;AccountKey=Sanitized;EndpointSuffix=core.windows.net", - "projections": [ - { - "tables": [ - { - "tableName": "hotelReviewsDocument", - "referenceKeyName": null, - "generatedKeyName": "Documentid", - "source": "/document/tableprojection", - "sourceContext": null, - "inputs": [] - }, - { - "tableName": "hotelReviewsPages", - "referenceKeyName": null, - "generatedKeyName": "Pagesid", - "source": "/document/tableprojection/pages/*", - "sourceContext": null, - "inputs": [] - }, - { - "tableName": "hotelReviewsKeyPhrases", - "referenceKeyName": null, - "generatedKeyName": "KeyPhrasesid", - "source": "/document/tableprojection/pages/*/keyphrase/*", - "sourceContext": null, - "inputs": [] - } - ], - "objects": [], - "files": [] - }, - { - "tables": [ - { - "tableName": "hotelReviewsInlineDocument", - "referenceKeyName": null, - "generatedKeyName": "Documentid", - "source": null, - "sourceContext": "/document", - "inputs": [ - { - "name": "name", - "source": "/document/name", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_date", - "source": "/document/reviews_date", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_rating", - "source": "/document/reviews_rating", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_text", - "source": "/document/reviews_text", - "sourceContext": null, - "inputs": [] - }, - { - "name": "reviews_title", - "source": "/document/reviews_title", - "sourceContext": null, - "inputs": [] - }, - { - "name": "AzureSearch_DocumentKey", - "source": "/document/AzureSearch_DocumentKey", - "sourceContext": null, - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlinePages", - "referenceKeyName": null, - "generatedKeyName": "Pagesid", - "source": null, - "sourceContext": "/document/reviews_text/pages/*", - "inputs": [ - { - "name": "SentimentScore", - "source": "/document/reviews_text/pages/*/Sentiment", - "sourceContext": null, - "inputs": [] - }, - { - "name": "LanguageCode", - "source": "/document/Language", - "sourceContext": null, - "inputs": [] - }, - { - "name": "Page", - "source": "/document/reviews_text/pages/*", - "sourceContext": null, - "inputs": [] - } - ] - }, - { - "tableName": "hotelReviewsInlineKeyPhrases", - "referenceKeyName": null, - "generatedKeyName": "kpidv2", - "source": null, - "sourceContext": "/document/reviews_text/pages/*/Keyphrases/*", - "inputs": [ - { - "name": "Keyphrases", - "source": "/document/reviews_text/pages/*/Keyphrases/*", - "sourceContext": null, - "inputs": [] - } - ] - } - ], - "objects": [], - "files": [] - } - ], - "parameters": { - "synthesizeGeneratedKeyName": true - } - }, - "encryptionKey": null - } - }, - { - "RequestUri": "https://mohitc-acs.search.windows.net/skillsets(\u0027fkfbvkwu\u0027)?api-version=2020-06-30-Preview", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json; odata.metadata=minimal", - "api-key": "Sanitized", - "If-Match": "\u00220x8D9171331CB3EB8\u0022", - "traceparent": "00-86486789417e4c4b81f3c64b155df189-1eaa100d064c1149-00", - "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "e8f4015801f45adf54cab00104bb966b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "client-request-id": "e8f40158-01f4-5adf-54ca-b00104bb966b", - "Date": "Fri, 14 May 2021 20:02:25 GMT", - "elapsed-time": "29", - "Expires": "-1", - "Pragma": "no-cache", - "request-id": "e8f40158-01f4-5adf-54ca-b00104bb966b", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-client-request-id": "e8f40158-01f4-5adf-54ca-b00104bb966b" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://mohitc-acs.search.windows.net/skillsets?$select=name\u0026api-version=2020-06-30-Preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json; odata.metadata=minimal", - "api-key": "Sanitized", - "traceparent": "00-468f7a68774a7a4aa8283ab45140038e-703c42888463584e-00", - "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "97a9c087604c4c754defac1db34e5cb4", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "client-request-id": "97a9c087-604c-4c75-4def-ac1db34e5cb4", - "Content-Length": "134", - "Content-Type": "application/json; odata.metadata=minimal", - "Date": "Fri, 14 May 2021 20:02:25 GMT", - "elapsed-time": "6", - "Expires": "-1", - "OData-Version": "4.0", - "Pragma": "no-cache", - "Preference-Applied": "odata.include-annotations=\u0022*\u0022", - "request-id": "97a9c087-604c-4c75-4def-ac1db34e5cb4", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-client-request-id": "97a9c087-604c-4c75-4def-ac1db34e5cb4" - }, - "ResponseBody": { - "@odata.context": "https://mohitc-acs.search.windows.net/$metadata#skillsets(name)", - "value": [ - { - "name": "pamepaud" - }, - { - "name": "wmviqrdd" - } - ] - } - }, - { - "RequestUri": "https://mohitc-acs.search.windows.net/indexes(\u0027rjvkixnh\u0027)?api-version=2020-06-30-Preview", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json; odata.metadata=minimal", - "api-key": "Sanitized", - "traceparent": "00-b0c423c531e9a8408ff65d94500ff155-5e64a62a5a0e434e-00", - "User-Agent": [ - "azsdk-net-Search.Documents/11.3.0-alpha.20210514.1", - "(.NET Framework 4.8.4341.0; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "7c994b8fac7d031fcd0762548e80143e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "client-request-id": "7c994b8f-ac7d-031f-cd07-62548e80143e", - "Date": "Fri, 14 May 2021 20:02:25 GMT", - "elapsed-time": "150", - "Expires": "-1", - "Pragma": "no-cache", - "request-id": "7c994b8f-ac7d-031f-cd07-62548e80143e", - "Strict-Transport-Security": "max-age=15724800; includeSubDomains", - "x-ms-client-request-id": "7c994b8f-ac7d-031f-cd07-62548e80143e" - }, - "ResponseBody": [] - } - ], - "Variables": { - "BlobContainerName": "ewcbqfii", - "RandomSeed": "1029455878", - "SearchIndexName": "rjvkixnh", - "SEARCH_ADMIN_API_KEY": "Sanitized", - "SEARCH_ENDPOINT_SUFFIX": null, - "SEARCH_SERVICE_NAME": "mohitc-acs", - "SEARCH_STORAGE_KEY": "Sanitized", - "SEARCH_STORAGE_NAME": "mohitcsablob", - "STORAGE_ENDPOINT_SUFFIX": null - } -} \ No newline at end of file From a453a7dc81062966c75bea1c0bc484a941ddd3a9 Mon Sep 17 00:00:00 2001 From: Mohit Chakraborty Date: Sat, 15 May 2021 10:39:05 -0700 Subject: [PATCH 6/6] Reduce code churn --- .../tests/SearchIndexerClientTests.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs index 2f31bf0179363..8fdaa2602d39b 100644 --- a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs @@ -492,11 +492,6 @@ private SearchIndexerSkillset CreateSkillsetModel(string skillsetName, SearchRes Context = "/document", }; - SearchIndexerSkillset skillset = new SearchIndexerSkillset(skillsetName, new[] { skill1, skill2, skill3, skill4, skill5 }) - { - CognitiveServicesAccount = new DefaultCognitiveServicesAccount(), - }; - SearchIndexerKnowledgeStoreTableProjectionSelector table1 = new("hotelReviewsDocument") { GeneratedKeyName = "Documentid", @@ -556,7 +551,12 @@ private SearchIndexerSkillset CreateSkillsetModel(string skillsetName, SearchRes { Tables = { table4, table5, table6 } }; List projections = new() { projection1, projection2 }; - skillset.KnowledgeStore = new SearchIndexerKnowledgeStore(resources.StorageAccountConnectionString, projections); + + SearchIndexerSkillset skillset = new SearchIndexerSkillset(skillsetName, new[] { skill1, skill2, skill3, skill4, skill5 }) + { + CognitiveServicesAccount = new DefaultCognitiveServicesAccount(), + KnowledgeStore = new SearchIndexerKnowledgeStore(resources.StorageAccountConnectionString, projections), + }; return skillset; }