Skip to content

Commit 7bd3fe1

Browse files
committed
September freshness pass
1 parent f779a87 commit 7bd3fe1

6 files changed

+82
-67
lines changed

articles/search/search-api-migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: bevloh
88
ms.author: beloh
99
ms.service: cognitive-search
1010
ms.topic: conceptual
11-
ms.date: 09/16/2021
11+
ms.date: 10/03/2022
1212
---
1313

1414
# Upgrade to the latest REST API in Azure Cognitive Search

articles/search/search-dotnet-mgmt-sdk-migration.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: beloh
99
ms.service: cognitive-search
1010
ms.devlang: csharp
1111
ms.topic: conceptual
12-
ms.date: 09/16/2021
12+
ms.date: 10/03/2022
1313
---
1414

1515
# Upgrading versions of the Azure Search .NET Management SDK
@@ -20,25 +20,28 @@ Management SDKs target a specific version of the Management REST API. For more i
2020

2121
## Versions
2222

23+
Microsoft.Azure.Management.Search is now deprecated. We recommend [Azure.ResourceManager.Search](https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.Search_1.0.0/sdk/search/Azure.ResourceManager.Search/README.md) instead.
24+
2325
| SDK version | Corresponding REST API version | Feature addition or behavior change |
2426
|-------------|--------------------------------|-------------------------------------|
27+
| [1.0](https://www.nuget.org/packages/Azure.ResourceManager.Search/) | api-version=2020-08-01 | This is a new package from the Azure SDK team that implements approaches and standards that are common to resource management in Azure. There's no migration path. If you've used the previous client library for service administration in Azure Cognitive Search, you should redesign your solution to use the new `Azure.ResourceManager.Search` package. See the [readme](https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.Search_1.0.0/sdk/search/Azure.ResourceManager.Search/README.md) for links and next steps.|
2528
| [3.0](https://www.nuget.org/packages/Microsoft.Azure.Management.Search/3.0.0) | api-version=2020-30-20 | Adds endpoint security (IP firewalls and integration with [Azure Private Link](../private-link/private-endpoint-overview.md)) |
2629
| [2.0](https://www.nuget.org/packages/Microsoft.Azure.Management.Search/2.0.0) | api-version=2019-10-01 | Usability improvements. Breaking change on [List Query Keys](/rest/api/searchmanagement/2021-04-01-preview/query-keys/list-by-search-service) (GET is discontinued). |
2730
| [1.0](https://www.nuget.org/packages/Microsoft.Azure.Management.Search/1.0.1) | api-version=2015-08-19 | First version |
2831

2932
## How to upgrade
3033

31-
1. Update your NuGet reference for `Microsoft.Azure.Management.Search` using either the NuGet Package Manager Console or by right-clicking on your project references and selecting "Manage NuGet Packages..." in Visual Studio.
34+
1. Update your NuGet reference for `Azure.ResourceManager.Search` using either the NuGet Package Manager Console or by right-clicking on your project references and selecting "Manage NuGet Packages..." in Visual Studio.
3235

33-
1. Once NuGet has downloaded the new packages and their dependencies, rebuild your project. Depending on how your code is structured, it may rebuild successfully, in which case you are done.
36+
1. Once NuGet has downloaded the new packages and their dependencies, rebuild your project. Depending on how your code is structured, it may rebuild successfully, in which case you're done.
3437

3538
1. If your build fails, it could be because you've implemented some of the SDK interfaces (for example, for the purposes of unit testing), which have changed. To resolve this, you'll need to implement newer methods such as `BeginCreateOrUpdateWithHttpMessagesAsync`.
3639

3740
1. After fixing any build errors, you can make changes to your application to take advantage of new functionality.
3841

3942
## Upgrade to 3.0
4043

41-
Version 3.0 adds private endpoint protection by restricting access to IP ranges, and by optionally integrating with Azure Private Link for search services that should not be visible on the public internet.
44+
Version 3.0 adds private endpoint protection by restricting access to IP ranges, and by optionally integrating with Azure Private Link for search services that shouldn't be visible on the public internet.
4245

4346
### New APIs
4447

@@ -56,9 +59,9 @@ You can no longer use GET on a [List Query Keys](/rest/api/searchmanagement/2021
5659

5760
## Upgrade to 2.0
5861

59-
Version 2 of the Azure Search .NET Management SDK is a minor upgrade, so changing your code should require only minimal effort.The changes to the SDK are strictly client-side changes to improve the usability of the SDK itself. These changes include the following:
62+
Version 2 of the Azure Search .NET Management SDK is a minor upgrade, so changing your code should require only minimal effort. The changes to the SDK are strictly client-side changes to improve the usability of the SDK itself. These changes include the following:
6063

61-
* `Services.CreateOrUpdate` and its asynchronous versions now automatically poll the provisioning `SearchService` and do not return until service provisioning is complete. This saves you from having to write such polling code yourself.
64+
* `Services.CreateOrUpdate` and its asynchronous versions now automatically poll the provisioning `SearchService` and don't return until service provisioning is complete. This saves you from having to write such polling code yourself.
6265

6366
* If you still want to poll service provisioning manually, you can use the new `Services.BeginCreateOrUpdate` method or one of its asynchronous versions.
6467

articles/search/search-dotnet-sdk-migration-version-11.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Upgrade to .NET SDK version 11
33
titleSuffix: Azure Cognitive Search
4-
description: Migrate code to the Azure Cognitive Search .NET SDK version 11 from older versions.
4+
description: Migrate your search application code from older SDK versions to the Azure Cognitive Search .NET SDK version 11 .
55

66
manager: nitinme
77
author: HeidiSteen

articles/search/search-howto-index-csv-blobs.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
---
22
title: Search over CSV blobs
33
titleSuffix: Azure Cognitive Search
4-
description: Extract and import CSV from Azure Blob Storage using the delimitedText parsing mode.
4+
description: Extract CSV blobs from Azure Blob Storage and import as search documents into Azure Cognitive Search using the delimitedText parsing mode.
55

66
manager: nitinme
77
author: HeidiSteen
88
ms.author: heidist
99

1010
ms.service: cognitive-search
11-
ms.topic: conceptual
12-
ms.date: 02/01/2021
11+
ms.topic: how-to
12+
ms.date: 10/03/2022
1313
---
1414

15-
# How to index CSV blobs and files using delimitedText parsing mode
15+
# Index CSV blobs and files using delimitedText parsing mode
1616

1717
**Applies to**: [Blob indexers](search-howto-indexing-azure-blob-storage.md), [File indexers](search-file-storage-integration.md)
1818

19-
In Azure Cognitive Search, both blob indexers and file indexers support a `delimitedText` parsing mode for CSV files that treats each line in the CSV as a separate search document. For example, given the following comma-delimited text, `delimitedText` would result in two documents in the search index:
19+
In Azure Cognitive Search, both blob indexers and file indexers support a `delimitedText` parsing mode for CSV files that treats each line in the CSV as a separate search document. For example, given the following comma-delimited text, the `delimitedText` parsing mode would result in two documents in the search index:
2020

2121
```text
2222
id, datePublished, tags
@@ -26,7 +26,7 @@ id, datePublished, tags
2626

2727
Without the `delimitedText` parsing mode, the entire contents of the CSV file would be treated as one search document.
2828

29-
Whenever you are creating multiple search documents from a single blob, be sure to review [Indexing blobs to produce multiple search documents](search-howto-index-one-to-many-blobs.md) to understand how document key assignments work. The blob indexer is capable of finding or generating values that uniquely define each new document. Specifically, it can create a transitory `AzureSearch_DocumentKey` that generated when a blob is parsed into smaller parts, where the value is then used as the search document's key in the index.
29+
Whenever you're creating multiple search documents from a single blob, be sure to review [Indexing blobs to produce multiple search documents](search-howto-index-one-to-many-blobs.md) to understand how document key assignments work. The blob indexer is capable of finding or generating values that uniquely define each new document. Specifically, it can create a transitory `AzureSearch_DocumentKey` that generated when a blob is parsed into smaller parts, where the value is then used as the search document's key in the index.
3030

3131
## Setting up CSV indexing
3232

@@ -57,12 +57,12 @@ You can customize the delimiter character using the `delimitedTextDelimiter` con
5757
> Currently, only the UTF-8 encoding is supported. If you need support for other encodings, vote for it on [UserVoice](https://feedback.azure.com/d365community/forum/9325d19e-0225-ec11-b6e6-000d3a4f07b8).
5858
5959
> [!IMPORTANT]
60-
> When you use the delimited text parsing mode, Azure Cognitive Search assumes that all blobs in your data source will be CSV. If you need to support a mix of CSV and non-CSV blobs in the same data source, please vote for it on [UserVoice](https://feedback.azure.com/d365community/forum/9325d19e-0225-ec11-b6e6-000d3a4f07b8).
60+
> When you use the delimited text parsing mode, Azure Cognitive Search assumes that all blobs in your data source will be CSV. If you need to support a mix of CSV and non-CSV blobs in the same data source, please vote for it on [UserVoice](https://feedback.azure.com/d365community/forum/9325d19e-0225-ec11-b6e6-000d3a4f07b8). Otherwise, considering using [file extension filters](search-blob-storage-integration.md#controlling-which-blobs-are-indexed) to control which files are imported on each indexer run.
6161
>
6262
6363
## Request examples
6464

65-
Putting this all together, here are the complete payload examples.
65+
Putting it all together, here are the complete payload examples.
6666

6767
Datasource:
6868

@@ -94,4 +94,7 @@ api-key: [admin key]
9494
}
9595
```
9696

97+
## See also
9798

99+
+ [Index data from Blob Storage](search-howto-indexing-azure-blob-storage.md)
100+
+ [Index data from File Storage](search-file-storage-integration.md)

0 commit comments

Comments
 (0)