You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/search/search-dotnet-mgmt-sdk-migration.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.author: beloh
9
9
ms.service: cognitive-search
10
10
ms.devlang: csharp
11
11
ms.topic: conceptual
12
-
ms.date: 09/16/2021
12
+
ms.date: 10/03/2022
13
13
---
14
14
15
15
# 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
20
20
21
21
## Versions
22
22
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
+
23
25
| SDK version | Corresponding REST API version | Feature addition or behavior change |
|[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.|
25
28
|[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)) |
26
29
|[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). |
27
30
|[1.0](https://www.nuget.org/packages/Microsoft.Azure.Management.Search/1.0.1)| api-version=2015-08-19 | First version |
28
31
29
32
## How to upgrade
30
33
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.
32
35
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.
34
37
35
38
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`.
36
39
37
40
1. After fixing any build errors, you can make changes to your application to take advantage of new functionality.
38
41
39
42
## Upgrade to 3.0
40
43
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.
42
45
43
46
### New APIs
44
47
@@ -56,9 +59,9 @@ You can no longer use GET on a [List Query Keys](/rest/api/searchmanagement/2021
56
59
57
60
## Upgrade to 2.0
58
61
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:
60
63
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.
62
65
63
66
* If you still want to poll service provisioning manually, you can use the new `Services.BeginCreateOrUpdate` method or one of its asynchronous versions.
Copy file name to clipboardExpand all lines: articles/search/search-howto-index-csv-blobs.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,22 @@
1
1
---
2
2
title: Search over CSV blobs
3
3
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.
5
5
6
6
manager: nitinme
7
7
author: HeidiSteen
8
8
ms.author: heidist
9
9
10
10
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
13
13
---
14
14
15
-
# How to index CSV blobs and files using delimitedText parsing mode
15
+
# Index CSV blobs and files using delimitedText parsing mode
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:
20
20
21
21
```text
22
22
id, datePublished, tags
@@ -26,7 +26,7 @@ id, datePublished, tags
26
26
27
27
Without the `delimitedText` parsing mode, the entire contents of the CSV file would be treated as one search document.
28
28
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.
30
30
31
31
## Setting up CSV indexing
32
32
@@ -57,12 +57,12 @@ You can customize the delimiter character using the `delimitedTextDelimiter` con
57
57
> 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).
58
58
59
59
> [!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.
61
61
>
62
62
63
63
## Request examples
64
64
65
-
Putting this all together, here are the complete payload examples.
65
+
Putting it all together, here are the complete payload examples.
66
66
67
67
Datasource:
68
68
@@ -94,4 +94,7 @@ api-key: [admin key]
94
94
}
95
95
```
96
96
97
+
## See also
97
98
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