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/samples-dotnet.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,8 +53,8 @@ Code samples from the Cognitive Search team demonstrate features and workflows.
53
53
|[DotNetHowToSynonyms](https://github.com/Azure-Samples/search-dotnet-getting-started/tree/master/DotNetHowToSynonyms)|[Example: Add synonyms in C#](search-synonyms-tutorial-sdk.md)| Synonym lists are used for query expansion, providing matchable terms that are external to an index. |
54
54
|[DotNetToIndexers](https://github.com/Azure-Samples/search-dotnet-getting-started/tree/master/DotNetHowToIndexers)|[Tutorial: Index Azure SQL data](search-indexer-tutorial.md)| Shows how to configure an Azure SQL indexer that has a schedule, field mappings, and parameters. |
55
55
|[DotNetHowToEncryptionUsingCMK](https://github.com/Azure-Samples/search-dotnet-getting-started/tree/master/DotNetHowToEncryptionUsingCMK)|[How to configure customer-managed keys for data encryption](search-security-manage-encryption-keys.md)| Shows how to create objects that are encrypted with a Customer Key. |
56
-
| [multiple-data-sources](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/multiple-data-sources) | [Tutorial: Index from multiple data sources](tutorial-multiple-data-sources.md). | Merges content from two data sources into one search index.
57
-
|[Optimize-data-indexing](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/optimize-data-indexing)|[Tutorial: Optimize indexing with the push API](tutorial-optimize-indexing-push-api.md).| Demonstrates optimization techniques for pushing data into a search index. |
56
+
| [multiple-data-sources](https://github.com/Azure-Samples/azure-search-dotnet-scale/tree/master/multiple-data-sources) | [Tutorial: Index from multiple data sources](tutorial-multiple-data-sources.md). | Merges content from two data sources into one search index.
57
+
|[Optimize-data-indexing](https://github.com/Azure-Samples/azure-search-dotnet-scale/tree/master/optimize-data-indexing)|[Tutorial: Optimize indexing with the push API](tutorial-optimize-indexing-push-api.md).| Demonstrates optimization techniques for pushing data into a search index. |
58
58
|[tutorial-ai-enrichment](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/tutorial-ai-enrichment)|[Tutorial: AI-generated searchable content from Azure blobs](cognitive-search-tutorial-blob-dotnet.md)| Shows how to configure an indexer and skillset. |
59
59
|[create-mvc-app](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/create-mvc-app)|[Tutorial: Add search to an ASP.NET Core (MVC) app](tutorial-csharp-create-mvc-app.md)| While most samples are console applications, this MVC sample uses a web page to front the sample Hotels index, demonstrating basic search, pagination, and other server-side behaviors.|
60
60
@@ -82,10 +82,10 @@ The following samples are also published by the Cognitive Search team, but aren'
82
82
83
83
| Samples | Repository | Description |
84
84
|---------|------------|-------------|
85
+
|[Query multiple services](https://github.com/Azure-Samples/azure-search-dotnet-scale/tree/main/multiple-search-services)|[azure-search-dotnet-scale](https://github.com/Azure-Samples/azure-search-dotnet-samples)| Issue a single query across multiple search services and combine the results into a single page. |
85
86
|[Check storage](https://github.com/Azure-Samples/azure-search-dotnet-utilities/blob/main/check-storage-usage/README.md)|[azure-search-dotnet-utilities](https://github.com/Azure-Samples/azure-search-dotnet-utilities)| Invokes an Azure function that checks search service storage on a schedule. |
86
87
|[Export an index](https://github.com/Azure-Samples/azure-search-dotnet-utilities/blob/main/export-data/README.md)|[azure-search-dotnet-utilities](https://github.com/Azure-Samples/azure-search-dotnet-utilities)| C# console app that partitions and export a large index. |
87
88
|[Backup and restore an index](https://github.com/Azure-Samples/azure-search-dotnet-utilities/blob/main/index-backup-restore/README.md)|[azure-search-dotnet-utilities](https://github.com/Azure-Samples/azure-search-dotnet-utilities)| C# console app that copies an index from one service to another, and in the process, creates JSON files on your computer with the index schema and documents.|
88
89
|[Index Data Lake Gen2 using Azure AD](https://github.com/Azure-Samples/azure-search-dotnet-utilities/blob/master/data-lake-gen2-acl-indexing/README.md)|[azure-search-dotnet-utilities](https://github.com/Azure-Samples/azure-search-dotnet-utilities)| Source code demonstrating indexer connections and indexing of Azure Data Lake Gen2 files and folders that are secured through Azure AD and role-based access controls. |
89
90
|[Search aggregations](https://github.com/Azure-Samples/azure-search-dotnet-utilities/blob/main/search-aggregations/README.md)|[azure-search-dotnet-utilities](https://github.com/Azure-Samples/azure-search-dotnet-utilities)| Proof-of-concept source code that demonstrates how to obtain aggregations from a search index and then filter by them. |
90
-
|[Query multiple services](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/main/multiple-search-services)|[azure-search-dotnet-samples](https://github.com/Azure-Samples/azure-search-dotnet-samples)| Issue a single query across multiple search services and combine the results into a single page. |
91
91
|[Power Skills](https://github.com/Azure-Samples/azure-search-power-skills/blob/main/README.md)|[azure-search-power-skills](https://github.com/Azure-Samples/azure-search-power-skills)| Source code for consumable custom skills that you can incorporate in your won solutions. |
@@ -36,6 +36,7 @@ Code samples from the Azure SDK development team demonstrate API usage. You can
36
36
|[Skillset creation](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/search/azure-search-documents/src/samples/java/com/azure/search/documents/indexes/CreateSkillsetExample.java)| Demonstrates how to create [skillsets](cognitive-search-working-with-skillsets.md) that are attached indexers, and that perform AI-based enrichment during indexing. |
37
37
|[Load documents](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/search/azure-search-documents/src/samples/java/com/azure/search/documents/IndexContentManagementExample.java)| Demonstrates how to upload or merge documents into an index in a [data import](search-what-is-data-import.md) operation. |
38
38
|[Query syntax](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/search/azure-search-documents/src/samples/java/com/azure/search/documents/SearchAsyncWithFullyTypedDocumentsExample.java)| Demonstrates how to set up a [basic query](search-query-overview.md). |
39
+
|[Vector search](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/search/azure-search-documents/src/samples/java/com/azure/search/documents/VectorSearchExample.java)| Demonstrates how to set up a vector field and then generate a [vector query](vector-search-how-to-query.md). |
Copy file name to clipboardExpand all lines: articles/search/samples-javascript.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.author: heidist
9
9
ms.service: cognitive-search
10
10
ms.custom: devx-track-dotnet, devx-track-js
11
11
ms.topic: conceptual
12
-
ms.date: 01/04/2023
12
+
ms.date: 07/27/2023
13
13
---
14
14
15
15
# JavaScript samples for Azure Cognitive Search
@@ -36,6 +36,8 @@ Code samples from the Azure SDK development team demonstrate API usage. You can
36
36
|[indexers](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/v11/javascript)| Demonstrates how to create, update, get, list, reset, and delete [indexers](search-indexer-overview.md).|
37
37
|[skillSet](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/v11/javascript)| Demonstrates how to create, update, get, list, and delete [skillsets](cognitive-search-working-with-skillsets.md) that are attached indexers, and that perform AI-based enrichment during indexing. |
38
38
|[synonymMaps](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/v11/javascript)| Demonstrates how to create, update, get, list, and delete [synonym maps](search-synonyms.md). |
39
+
|[VectorSearch](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/search/search-documents/samples/v12-beta/javascript/vectorSearch.js)| Demonstrates how to generate vectors and send a [vector query](vector-search-how-to-query.md). |
Copy file name to clipboardExpand all lines: articles/search/samples-python.md
+12-2Lines changed: 12 additions & 2 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: heidist
9
9
ms.service: cognitive-search
10
10
ms.custom: devx-track-dotnet, devx-track-python
11
11
ms.topic: conceptual
12
-
ms.date: 01/04/2023
12
+
ms.date: 07/27/2023
13
13
---
14
14
15
15
# Python samples for Azure Cognitive Search
@@ -38,6 +38,7 @@ Code samples from the Azure SDK development team demonstrate API usage. You can
38
38
|[Simple query](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/search/azure-search-documents/samples/sample_simple_query.py)| Demonstrates how to set up a [basic query](search-query-overview.md). |
39
39
|[Filter query](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/search/azure-search-documents/samples/sample_filter_query.py)| Demonstrates setting up a [filter expression](search-filters.md). |
40
40
|[Facet query](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/search/azure-search-documents/samples/sample_facet_query.py)| Demonstrates working with [facets](search-faceted-navigation.md). |
41
+
|[Vector search](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/search/azure-search-documents/samples/sample_vector_search.py)| Demonstrates how to get embeddings from a description field and then send vector queries against the data. |
41
42
42
43
## Doc samples
43
44
@@ -46,8 +47,17 @@ Code samples from the Cognitive Search team demonstrate features and workflows.
46
47
| Samples | Article |
47
48
|---------|---------|
48
49
|[quickstart](https://github.com/Azure-Samples/azure-search-python-samples/tree/master/Quickstart/v11)| Source code for the Python portion of [Quickstart: Full text search using the Azure SDKs](search-get-started-text.md). This article covers the basic workflow for creating, loading, and querying a search index using sample data. |
49
-
|[search-website](https://github.com/Azure-Samples/azure-search-python-samples/tree/main/search-website-functions-v4)| Source code for [Tutorial: Add search to web apps](tutorial-python-overview.md). Demonstrates an end-to-end search app that includes a rich client plus components for hosting the app and handling search requests.|
50
+
|[search-website-functions-v4](https://github.com/Azure-Samples/azure-search-python-samples/tree/main/search-website-functions-v4)| Source code for [Tutorial: Add search to web apps](tutorial-python-overview.md). Demonstrates an end-to-end search app that includes a rich client plus components for hosting the app and handling search requests.|
50
51
|[tutorial-ai-enrichment](https://github.com/Azure-Samples/azure-search-python-samples/tree/master/Tutorial-AI-Enrichment)| Source code for [Tutorial: Use Python and AI to generate searchable content from Azure blobs](cognitive-search-tutorial-blob-python.md). This article shows how to create a blob indexer with a cognitive skillset, where the skillset creates and transforms raw content to make it searchable or consumable. |
51
52
53
+
## Demos
54
+
55
+
A demo repo provides proof-of-concept source code for examples or scenarios shown in demonstrations. Demo solutions aren't designed for adaptation by customers.
56
+
57
+
| Repository | Description |
58
+
|------------|-------------|
59
+
|[**ChatGPT + Enterprise data with Azure OpenAI and Cognitive Search**](https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/README.md)| Python code showing how to use Cognitive Search with the large language models in Azure OpenAI. For background, see this Tech Community blog post: [Revolutionize your Enterprise Data with ChatGPT](https://techcommunity.microsoft.com/t5/ai-applied-ai-blog/revolutionize-your-enterprise-data-with-chatgpt-next-gen-apps-w/ba-p/3762087). |
60
+
61
+
52
62
> [!TIP]
53
63
> Try the [Samples browser](/samples/browse/?languages=python&products=azure-cognitive-search) to search for Microsoft code samples in GitHub, filtered by product, service, and language.
For an earlier version of the .NET SDK, see [Microsoft.Azure.Search (version 10) code sample](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/multiple-data-sources/v10) on GitHub.
40
+
For an earlier version of the .NET SDK, see [Microsoft.Azure.Search (version 10) code sample](https://github.com/Azure-Samples/azure-search-dotnet-scale/tree/master/multiple-data-sources/v10) on GitHub.
Copy file name to clipboardExpand all lines: articles/search/tutorial-optimize-indexing-push-api.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ms.custom: devx-track-csharp
14
14
15
15
Azure Cognitive Search supports [two basic approaches](search-what-is-data-import.md) for importing data into a search index: *pushing* your data into the index programmatically, or pointing an [Azure Cognitive Search indexer](search-indexer-overview.md) at a supported data source to *pull* in the data.
16
16
17
-
This tutorial describes how to efficiently index data using the [push model](search-what-is-data-import.md#pushing-data-to-an-index) by batching requests and using an exponential backoff retry strategy. You can [download and run the sample application](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/optimize-data-indexing). This article explains the key aspects of the application and factors to consider when indexing data.
17
+
This tutorial describes how to efficiently index data using the [push model](search-what-is-data-import.md#pushing-data-to-an-index) by batching requests and using an exponential backoff retry strategy. You can [download and run the sample application](https://github.com/Azure-Samples/azure-search-dotnet-scale/tree/master/optimize-data-indexing). This article explains the key aspects of the application and factors to consider when indexing data.
18
18
19
19
This tutorial uses C# and the [.NET SDK](/dotnet/api/overview/azure/search) to perform the following tasks:
20
20
@@ -39,7 +39,7 @@ The following services and tools are required for this tutorial.
39
39
40
40
## Download files
41
41
42
-
Source code for this tutorial is in the [optimzize-data-indexing/v11](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/optimize-data-indexing/v11) folder in the [Azure-Samples/azure-search-dotnet-samples](https://github.com/Azure-Samples/azure-search-dotnet-samples) GitHub repository.
42
+
Source code for this tutorial is in the [optimzize-data-indexing/v11](https://github.com/Azure-Samples/azure-search-dotnet-scale/tree/master/optimize-data-indexing/v11) folder in the [Azure-Samples/azure-search-dotnet-samples](https://github.com/Azure-Samples/azure-search-dotnet-samples) GitHub repository.
0 commit comments