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/resource-demo-sites.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,19 +7,18 @@ manager: nitinme
7
7
ms.author: heidist
8
8
ms.service: cognitive-search
9
9
ms.topic: conceptual
10
-
ms.date: 08/22/2023
10
+
ms.date: 09/18/2023
11
11
---
12
12
13
13
# Demos - Azure Cognitive Search
14
14
15
15
Demos are hosted apps that showcase search and AI enrichment functionality in Azure Cognitive Search. Several of these demos include source code on GitHub so that you can see how they were made.
16
16
17
-
The following demos are built and hosted by Microsoft.
17
+
Microsoft built and hosts the following demos.
18
18
19
19
| Demo name | Description | Source code |
20
20
|-----------|------------ |-------------|
21
-
|[Chat with your data](https://entgptsearch.azurewebsites.net/)| An Azure web app that uses ChatGPT in Azure OpenAI with fictitous health plan data in a search index. |[https://github.com/Azure-Samples/azure-search-openai-demo/](https://github.com/Azure-Samples/azure-search-openai-demo/)|
22
-
|[AzSearchLab](https://azuresearchlab.azurewebsites.net/)| A web front end that makes calls to a search index. |[https://github.com/Azure-Samples/azure-search-lab](https://github.com/Azure-Samples/azure-search-lab)|
21
+
|[Chat with your data](https://entgptsearch.azurewebsites.net/)| An Azure web app that uses ChatGPT in Azure OpenAI with fictitious health plan data in a search index. |[https://github.com/Azure-Samples/azure-search-openai-demo/](https://github.com/Azure-Samples/azure-search-openai-demo/)|
23
22
|[NYC Jobs demo](https://azjobsdemo.azurewebsites.net/)| An ASP.NET app with facets, filters, details, geo-search (map controls). |[https://github.com/Azure-Samples/search-dotnet-asp-net-mvc-jobs](https://github.com/Azure-Samples/search-dotnet-asp-net-mvc-jobs)|
24
23
|[JFK files demo](https://jfk-demo-2019.azurewebsites.net/#/)| An ASP.NET web app built on a public data set, transformed with custom and predefined skills to extract searchable content from scanned document (JPEG) files. [Learn more...](https://www.microsoft.com/ai/ai-lab-jfk-files)|[https://github.com/Microsoft/AzureSearch_JFK_Files](https://github.com/Microsoft/AzureSearch_JFK_Files)|
25
24
|[Semantic search for retail](https://brave-meadow-0f59c9b1e.1.azurestaticapps.net/)| Web app for a fictitious online retailer, "Terra" | Not available |
Copy file name to clipboardExpand all lines: articles/search/resource-tools.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,6 @@ Productivity tools are built by engineers at Microsoft, but aren't part of the A
16
16
17
17
| Tool name | Description | Source code |
18
18
|-----------|------------ |-------------|
19
-
|[Azure Cognitive Search Lab readme](https://github.com/Azure-Samples/azure-search-lab/blob/main/README.md)| Connects to your search service with a Web UI that exercises the full REST API, including the ability to edit a live search index. |[https://github.com/Azure-Samples/azure-search-lab](https://github.com/Azure-Samples/azure-search-lab)|
20
19
|[Back up and Restore readme](https://github.com/liamca/azure-search-backup-restore/blob/master/README.md)| Download a populated search index to your local device and then upload the index and its content to a new search service. |[https://github.com/liamca/azure-search-backup-restore](https://github.com/liamca/azure-search-backup-restore)|
21
20
|[Knowledge Mining Accelerator readme](https://github.com/Azure-Samples/azure-search-knowledge-mining/blob/main/README.md)| Code and docs to jump start a knowledge store using your data. |[https://github.com/Azure-Samples/azure-search-knowledge-mining](https://github.com/Azure-Samples/azure-search-knowledge-mining)|
22
21
|[Performance testing readme](https://github.com/Azure-Samples/azure-search-performance-testing/blob/main/README.md)| This solution helps you load test Azure Cognitive Search. It uses Apache JMeter as an open source load and performance testing tool and Terraform to dynamically provision and destroy the required infrastructure on Azure. |[https://github.com/Azure-Samples/azure-search-performance-testing](https://github.com/Azure-Samples/azure-search-performance-testing)|
title: Upgrade to the Azure Search .NET Management SDK
2
+
title: Upgrade management SDKs
3
3
titleSuffix: Azure Cognitive Search
4
-
description: Upgrade to the Azure Search .NET Management SDK from previous versions. Learn about new features and the code changes necessary for migration.
4
+
description: Learn about the management libraries and packages used for control plane operations in Azure Cognitive Search.
5
5
6
6
manager: nitinme
7
7
author: bevloh
@@ -10,27 +10,25 @@ ms.service: cognitive-search
10
10
ms.devlang: csharp
11
11
ms.custom: devx-track-dotnet
12
12
ms.topic: conceptual
13
-
ms.date: 10/03/2022
13
+
ms.date: 09/15/2023
14
14
---
15
15
16
-
# Upgrading versions of the Azure Search .NET Management SDK
16
+
# Upgrade versions of the Azure Search .NET Management SDK
17
17
18
-
This article explains how to migrate to successive versions of the Azure Search .NET Management SDK, used to provision or deprovision search services, adjust capacity, and manage API keys.
18
+
This article points you to libraries in the Azure SDK for .NET that are used to provision or deprovision search services, adjust capacity, manage API keys, and configure network security.
19
19
20
-
Management SDKs target a specific version of the Management REST API. For more information about concepts and operations, see [Search Management (REST)](/rest/api/searchmanagement/).
20
+
Management SDKs target a specific version of the Management REST API. Release notes for each library indicate which REST API version is the target for each package. For more information about concepts and operations, see [Search Management (REST)](/rest/api/searchmanagement/).
21
21
22
22
## Versions
23
23
24
-
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
+
The following table lists the client libraries used to provision a search service.
25
25
26
-
| 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.|
29
-
|[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)) |
30
-
|[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). |
31
-
|[1.0](https://www.nuget.org/packages/Microsoft.Azure.Management.Search/1.0.1)| api-version=2015-08-19 | First version |
1. Review the [client library changelist](https://github.com/Azure/azure-sdk-for-net/blob/Azure.ResourceManager.Search_1.0.0/sdk/search/Azure.ResourceManager.Search/CHANGELOG.md) for insight into the scope of changes.
36
34
@@ -40,40 +38,6 @@ Microsoft.Azure.Management.Search is now deprecated. We recommend [Azure.Resourc
40
38
41
39
1. Once NuGet has downloaded the new packages and their dependencies, replace the API calls.
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.
52
-
53
-
### New APIs
54
-
55
-
| API | Category| Details |
56
-
|-----|--------|------------------|
57
-
|[NetworkRuleSet](/rest/api/searchmanagement/2021-04-01-preview/services/create-or-update#networkruleset)| IP firewall | Restrict access to a service endpoint to a list of allowed IP addresses. See [Configure IP firewall](service-configure-firewall.md) for concepts and portal instructions. |
58
-
|[Shared Private Link Resource](/rest/api/searchmanagement/2021-04-01-preview/shared-private-link-resources)| Private Link | Create a shared private link resource to be used by a search service. |
59
-
|[Private Endpoint Connections](/rest/api/searchmanagement/2021-04-01-preview/private-endpoint-connections)| Private Link | Establish and manage connections to a search service through private endpoint. See [Create a private endpoint](service-create-private-endpoint.md) for concepts and portal instructions.|
60
-
|[Private Link Resources](/rest/api/searchmanagement/2021-04-01-preview/private-link-resources)| Private Link | For a search service that has a private endpoint connection, get a list of all services used in the same virtual network. If your search solution includes indexers that pull from Azure data sources (such as Azure Storage, Azure Cosmos DB, Azure SQL), or uses Azure AI services or Key Vault, then all of those resources should have endpoints in the virtual network, and this API should return a list. |
61
-
|[PublicNetworkAccess](/rest/api/searchmanagement/2021-04-01-preview/services/create-or-update#publicnetworkaccess)| Private Link | This is a property on Create or Update Service requests. When disabled, private link is the only access modality. |
62
-
63
-
### Breaking changes
64
-
65
-
You can no longer use GET on a [List Query Keys](/rest/api/searchmanagement/2021-04-01-preview/query-keys/list-by-search-service) request. In previous releases you could use either GET or POST, in this release and in all releases moving forward, only POST is supported.
66
-
67
-
## Upgrade to 2.0
68
-
69
-
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:
70
-
71
-
*`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.
72
-
73
-
* If you still want to poll service provisioning manually, you can use the new `Services.BeginCreateOrUpdate` method or one of its asynchronous versions.
74
-
75
-
* New methods `Services.Update` and its asynchronous versions have been added to the SDK. These methods use HTTP PATCH to support incremental updating of a service. For example, you can now scale a service by passing a `SearchService` instance to these methods that contains only the desired `partitionCount` and `replicaCount` properties. The old way of calling `Services.Get`, modifying the returned `SearchService`, and passing it to `Services.CreateOrUpdate` is still supported, but is no longer necessary.
76
-
77
41
## Next steps
78
42
79
43
If you encounter problems, the best forum for posting questions is [Stack Overflow](https://stackoverflow.com/questions/tagged/azure-cognitive-search?tab=Newest). If you find a bug, you can file an issue in the [Azure .NET SDK GitHub repository](https://github.com/Azure/azure-sdk-for-net/issues). Make sure to label your issue title with "[search]".
Copy file name to clipboardExpand all lines: articles/search/whats-new.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,6 @@ Learn about the latest updates to Azure Cognitive Search functionality, docs, an
68
68
| November |[Query performance dashboard](https://github.com/Azure-Samples/azure-samples-search-evaluation). This Application Insights sample demonstrates an approach for deep monitoring of query usage and performance of an Azure Cognitive Search index. It includes a JSON template that creates a workbook and dashboard in Application Insights and a Jupyter Notebook that populates the dashboard with simulated data. |
69
69
| October |[Compliance risk analysis using Azure Cognitive Search](/azure/architecture/guide/ai/compliance-risk-analysis). On Azure Architecture Center, this guide covers the implementation of a compliance risk analysis solution that uses Azure Cognitive Search. |
70
70
| October |[Beiersdorf customer story using Azure Cognitive Search](https://customers.microsoft.com/story/1552642769228088273-Beiersdorf-consumer-goods-azure-cognitive-search). This customer story showcases semantic search and document summarization to provide researchers with ready access to institutional knowledge. |
71
-
| September |[Azure Cognitive Search Lab](https://github.com/Azure-Samples/azure-search-lab/blob/main/README.md). This C# sample provides the source code for building a web front-end that accesses all of the REST API calls against an index. This tool is used by support engineers to investigate customer support issues. You can try this [demo site](https://azuresearchlab.azurewebsites.net/) before building your own copy. |
72
71
| September |[Event-driven indexing for Cognitive Search](https://github.com/aditmer/Event-Driven-Indexing-For-Cognitive-Search/blob/main/README.md). This C# sample is an Azure Function app that demonstrates event-driven indexing in Azure Cognitive Search. If you've used indexers and skillsets before, you know that indexers can run on demand or on a schedule, but not in response to events. This demo shows you how to set up an indexing pipeline that responds to data update events. |
73
72
| August |[Tutorial: Index large data from Apache Spark](search-synapseml-cognitive-services.md). This tutorial explains how to use the SynapseML open-source library to push data from Apache Spark into a search index. It also shows you how to make calls to Azure AI services to get AI enrichment without skillsets and indexers. |
74
73
| June |[Semantic search (preview)](semantic-search-overview.md). New support for Storage Optimized tiers (L1, L2). |
0 commit comments