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
+19-16Lines changed: 19 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ author: HeidiSteen
8
8
ms.author: heidist
9
9
ms.service: cognitive-search
10
10
ms.topic: conceptual
11
-
ms.date: 09/09/2022
11
+
ms.date: 01/04/2023
12
12
---
13
13
14
14
# .NET (C#) code samples for Azure Cognitive Search
@@ -38,30 +38,33 @@ Code samples from the Azure SDK development team demonstrate API usage. You can
38
38
39
39
## Doc samples
40
40
41
-
Code samples from the Cognitive Search team demonstrate features and workflows. Many of these samples are referenced in tutorials, quickstarts, and how-to articles. You can find these samples in [**Azure-Samples/azure-search-dotnet-samples**](https://github.com/Azure-Samples/azure-search-dotnet-samples) and in [**Azure-Samples/search-dotnet-getting-started**](https://github.com/Azure-Samples/search-dotnet-getting-started/) on GitHub.
41
+
Code samples from the Cognitive Search team demonstrate features and workflows. All of the following samples are referenced in tutorials, quickstarts, and how-to articles that explain the code in detail. You can find these samples in [**Azure-Samples/azure-search-dotnet-samples**](https://github.com/Azure-Samples/azure-search-dotnet-samples) and in [**Azure-Samples/search-dotnet-getting-started**](https://github.com/Azure-Samples/search-dotnet-getting-started/) on GitHub.
42
42
43
-
| Samples | Article |
44
-
|---------|-------------|
45
-
|[quickstart](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/quickstart)| Source code for [Quickstart: Create a search index ](search-get-started-dotnet.md). Covers the basic workflow for creating, loading, and querying a search index using sample data. |
46
-
|[search-website](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/main/search-website-functions-v4)| Source code for [Tutorial: Add search to web apps](tutorial-csharp-overview.md). Demonstrates an end-to-end search app that includes a rich client plus components for hosting the app and handling search requests.|
47
-
|[DotNetHowTo](https://github.com/Azure-Samples/search-dotnet-getting-started/tree/master/DotNetHowTo)| Source code for [How to use the .NET client library](search-howto-dotnet-sdk.md). Steps through the basic workflow, but in more detail and discussion of API usage. |
48
-
|[DotNetHowToSynonyms](https://github.com/Azure-Samples/search-dotnet-getting-started/tree/master/DotNetHowToSynonyms)| Source code for [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. |
49
-
|[DotNetToIndexers](https://github.com/Azure-Samples/search-dotnet-getting-started/tree/master/DotNetHowToIndexers)| Source code for [Tutorial: Index Azure SQL data using the .NET SDK](search-indexer-tutorial.md). This article shows how to configure an Azure SQL indexer that has a schedule, field mappings, and parameters. |
50
-
|[DotNetHowToEncryptionUsingCMK](https://github.com/Azure-Samples/search-dotnet-getting-started/tree/master/DotNetHowToEncryptionUsingCMK)| Source code for [How to configure customer-managed keys for data encryption](search-security-manage-encryption-keys.md). |
51
-
|[Create your first app in C#](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/create-first-app/v11)| Source code for [Tutorial: Create your first search app](tutorial-csharp-create-first-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, autocomplete and suggested queries, facets, and filters. |
52
-
|[multiple-data-sources](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/multiple-data-sources)| Source code for [Tutorial: Index from multiple data sources](tutorial-multiple-data-sources.md). |
53
-
|[optimize-data-indexing](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/optimize-data-indexing)| Source code for [Tutorial: Optimize indexing with the push API](tutorial-optimize-indexing-push-api.md). |
54
-
|[tutorial-ai-enrichment](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/tutorial-ai-enrichment)| Source code for [Tutorial: AI-generated searchable content from Azure blobs using the .NET SDK](cognitive-search-tutorial-blob-dotnet.md). |
55
-
56
-
> [!Tip]
43
+
> [!TIP]
57
44
> Try the [Samples browser](/samples/browse/?languages=csharp&products=azure-cognitive-search) to search for Microsoft code samples in GitHub, filtered by product, service, and language.
58
45
46
+
| Code sample | Related article | Purpose |
47
+
|-------------|------------------|---------|
48
+
|[quickstart](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/quickstart)|[Quickstart: Create a search index](search-get-started-dotnet.md)| Covers the basic workflow for creating, loading, and querying a search index in C# using sample data. |
49
+
|[search-website](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/main/search-website-functions-v4)|[Tutorial: Add search to web apps](tutorial-csharp-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
+
|[DotNetHowTo](https://github.com/Azure-Samples/search-dotnet-getting-started/tree/master/DotNetHowTo)|[How to use the .NET client library](search-howto-dotnet-sdk.md)| Steps through the basic workflow, but in more detail and with discussion of API usage. |
51
+
|[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. |
52
+
|[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. |
53
+
|[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. |
54
+
| [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.
55
+
|[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
+
|[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. |
57
+
|[Create your first app in C#](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/master/create-first-app/v11)|[Tutorial: Create your first search app](tutorial-csharp-create-first-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, autocomplete and suggested queries, facets, and filters.|
58
+
59
59
## Other samples
60
60
61
61
The following samples are also published by the Cognitive Search team, but aren't referenced in documentation. Associated readme files provide usage instructions.
62
62
63
63
| Samples | Description |
64
64
|---------|-------------|
65
+
|[Check storage](https://github.com/Azure-Samples/azure-search-dotnet-samples/blob/main/check-storage-usage/README.md)| Invokes an Azure function that checks search service storage on a schedule. |
66
+
|[Export an index](https://github.com/Azure-Samples/azure-search-dotnet-samples/blob/main/export-data/README.md)| C# console app that partitions and export a large index. |
67
+
|[Query multiple services](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/main/multiple-search-services)| Issue a single query across multiple search services and combine the results into a single page. |
65
68
|[Index Data Lake Gen2 using Azure AD](https://github.com/Azure-Samples/azure-search-dotnet-samples/blob/master/data-lake-gen2-acl-indexing/README.md)| 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. |
66
69
|[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. |
67
70
|[Knowledge Mining Solution Accelerator](/samples/azure-samples/azure-search-knowledge-mining/azure-search-knowledge-mining/)| Includes templates, support files, and analytical reports to help you prototype an end-to-end knowledge mining solution. |
Copy file name to clipboardExpand all lines: articles/search/samples-java.md
+4-13Lines changed: 4 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ author: HeidiSteen
8
8
ms.author: heidist
9
9
ms.service: cognitive-search
10
10
ms.topic: conceptual
11
-
ms.date: 09/09/2022
11
+
ms.date: 01/04/2023
12
12
---
13
13
14
14
# Java code samples for Azure Cognitive Search
@@ -38,20 +38,11 @@ Code samples from the Azure SDK development team demonstrate API usage. You can
38
38
39
39
## Doc samples
40
40
41
-
Code samples from the Cognitive Search team demonstrate features and workflows. Many of these samples are referenced in tutorials, quickstarts, and how-to articles. You can find these samples in [**Azure-Samples/azure-search-java-samples**](https://github.com/Azure-Samples/azure-search-java-samples) on GitHub.
41
+
Code samples from the Cognitive Search team are located in [**Azure-Samples/azure-search-java-samples**](https://github.com/Azure-Samples/azure-search-java-samples) on GitHub.
42
42
43
43
| Samples | Article |
44
44
|---------|-------------|
45
-
|[quickstart](https://github.com/Azure-Samples/azure-search-java-samples/tree/java-rest-api/quickstart)| Source code for [Quickstart: Create a search index in Java and REST](search-get-started-java.md). This sample hasn't been updated for the Java SDK. It calls the REST APIs. |
45
+
|[search-java-getting-started](https://github.com/Azure-Samples/azure-search-java-samples/tree/main/search-java-getting-started)| Source code for [Quickstart: Create a search index in Java and REST](search-get-started-java.md). |
46
46
47
-
> [!Tip]
47
+
> [!TIP]
48
48
> Try the [Samples browser](/samples/browse/?languages=java&products=azure-cognitive-search) to search for Microsoft code samples in GitHub, filtered by product, service, and language.
49
-
50
-
## Other samples
51
-
52
-
The following samples are also published by the Cognitive Search team, but aren't referenced in documentation. Associated readme files provide usage instructions.
53
-
54
-
| Samples | Description |
55
-
|---------|-------------|
56
-
|[search-java-getting-started](https://github.com/Azure-Samples/azure-search-java-samples/tree/master/search-java-getting-started)| Uses the Java SDK client library to create, load, and query a search index. This sample is currently standalone. |
57
-
|[search-java-indexer-demo](https://github.com/Azure-Samples/azure-search-java-samples/tree/java-rest-api/search-java-indexer-demo)| Demonstrates an Azure Cosmos DB indexer in Java. This sample hasn't been updated for the Java SDK. It calls the REST APIs.|
Copy file name to clipboardExpand all lines: articles/search/samples-javascript.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
@@ -8,7 +8,7 @@ author: HeidiSteen
8
8
ms.author: heidist
9
9
ms.service: cognitive-search
10
10
ms.topic: conceptual
11
-
ms.date: 09/09/2022
11
+
ms.date: 01/04/2023
12
12
---
13
13
14
14
# JavaScript code samples for Azure Cognitive Search
@@ -55,7 +55,7 @@ Code samples from the Cognitive Search team demonstrate features and workflows.
55
55
|[quickstart](https://github.com/Azure-Samples/azure-search-javascript-samples/tree/master/quickstart/v11)| Source code for [Quickstart: Create a search index in JavaScript](search-get-started-javascript.md). Covers the basic workflow for creating, loading, and querying a search index using sample data. |
56
56
|[search-website](https://github.com/Azure-Samples/azure-search-javascript-samples/tree/main/search-website-functions-v4)| Source code for [Tutorial: Add search to web apps](tutorial-javascript-overview.md). Demonstrates an end-to-end search app that includes a rich client plus components for hosting the app and handling search requests.|
57
57
58
-
> [!Tip]
58
+
> [!TIP]
59
59
> Try the [Samples browser](/samples/browse/?languages=javascript&products=azure-cognitive-search) to search for Microsoft code samples in GitHub, filtered by product, service, and language.
Copy file name to clipboardExpand all lines: articles/search/samples-python.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
@@ -8,7 +8,7 @@ author: HeidiSteen
8
8
ms.author: heidist
9
9
ms.service: cognitive-search
10
10
ms.topic: conceptual
11
-
ms.date: 09/09/2022
11
+
ms.date: 01/04/2023
12
12
---
13
13
14
14
# Python code samples for Azure Cognitive Search
@@ -49,5 +49,5 @@ Code samples from the Cognitive Search team demonstrate features and workflows.
49
49
|[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. |
50
50
|[AzureML-Custom-Skill](https://github.com/Azure-Samples/azure-search-python-samples/tree/master/AzureML-Custom-Skill)| Source code for [Example: Create a custom skill using Python](cognitive-search-custom-skill-python.md). This article demonstrates indexer and skillset integration with deep learning models in Azure Machine Learning. |
51
51
52
-
> [!Tip]
52
+
> [!TIP]
53
53
> 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.
0 commit comments