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/hybrid-search-how-to-query.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
@@ -42,7 +42,7 @@ A hybrid query combines full text search and vector search, where the `"search"`
42
42
43
43
Hybrid queries are useful because they add support for all query capabilities, including orderby and [semantic ranking](semantic-how-to-query-request.md). For example, in addition to the vector query, you could search over people or product names or titles, scenarios for which similarity search isn't a good fit.
44
44
45
-
The following example is from the [Postman collection of REST APIs](https://github.com/Azure/cognitive-search-vector-pr/tree/main/demo-python) that demonstrate hybrid query configurations.
45
+
The following example is from the [Postman collection of REST APIs](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-python) that demonstrate hybrid query configurations.
46
46
47
47
```http
48
48
POST https://{{search-service-name}}.search.windows.net/indexes/{{index-name}}/docs/search?api-version=2023-11-01
@@ -257,4 +257,4 @@ In this section, compare the responses between single vector search and simple h
257
257
258
258
## Next steps
259
259
260
-
As a next step, we recommend reviewing the demo code for [Python](https://github.com/Azure/cognitive-search-vector-pr/tree/main/demo-python), [C#](https://github.com/Azure/cognitive-search-vector-pr/tree/main/demo-dotnet) or [JavaScript](https://github.com/Azure/cognitive-search-vector-pr/tree/main/demo-javascript).
260
+
As a next step, we recommend reviewing the demo code for [Python](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-python), [C#](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-dotnet) or [JavaScript](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-javascript).
Copy file name to clipboardExpand all lines: articles/search/samples-dotnet.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.custom:
11
11
- devx-track-dotnet
12
12
- ignite-2023
13
13
ms.topic: conceptual
14
-
ms.date: 08/02/2023
14
+
ms.date: 01/25/2024
15
15
---
16
16
17
17
# C# samples for Azure AI Search
@@ -38,7 +38,8 @@ Code samples from the Azure SDK development team demonstrate API usage. You can
38
38
|[FieldBuilderIgnore](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/search/Azure.Search.Documents/samples/Sample04_FieldBuilderIgnore.md)| Demonstrates a technique for working with unsupported data types. |
39
39
|[Indexing documents (push model)](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/search/Azure.Search.Documents/samples/Sample05_IndexingDocuments.md)| "Push" model indexing, where you send a JSON payload to an index on a service. |
40
40
|[Encryption key sample](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/search/Azure.Search.Documents/samples/Sample06_EncryptedIndex.md)| Demonstrates using a customer-managed encryption key to add an extra layer of protection over sensitive content. |
41
-
|[Vector search sample](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/search/Azure.Search.Documents/samples/Sample07_VectorSearch.md)| Shows you how to index a vector field and perform vector search using the Azure SDK for .NET. Vector search is in preview. |
41
+
|[Vector search sample](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/search/Azure.Search.Documents/samples/Sample07_VectorSearch.md)| Shows you how to index a vector field and perform vector search using the Azure SDK for .NET. |
42
+
|[Semantic ranking sample](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/search/Azure.Search.Documents/samples/Sample08_SemanticSearch.md)| Shows you how to configure semantic ranking in an index and invoke semantic queries using the Azure SDK for .NET. |
42
43
43
44
## Doc samples
44
45
@@ -49,16 +50,19 @@ Code samples from the Azure AI Search team demonstrate features and workflows. A
49
50
50
51
| Code sample | Related article | Purpose |
51
52
|-------------|------------------|---------|
53
+
|[create-mvc-app](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/main/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.|
52
54
|[quickstart](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/main/quickstart/v11)|[Quickstart: Full text search using the Azure SDKs](search-get-started-text.md)| Covers the basic workflow for creating, loading, and querying a search index in C# using sample data. |
55
+
|[quickstart-semantic-search](https://github.com/Azure-Samples/azure-search-dotnet-samples/blob/main/quickstart-semantic-search/)|[Quickstart: Semantic ranking using the Azure SDKs](search-get-started-semantic.md)| Shows the index schema and query request for invoking semantic ranking. |
53
56
|[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.|
57
+
|[tutorial-ai-enrichment](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/main/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. |
58
+
| [multiple-data-sources](https://github.com/Azure-Samples/azure-search-dotnet-scale/tree/main/multiple-data-sources) | [Tutorial: Index from multiple data sources](tutorial-multiple-data-sources.md). | Merges content from two data sources into one search index.
59
+
|[Optimize-data-indexing](https://github.com/Azure-Samples/azure-search-dotnet-scale/tree/main/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. |
54
60
|[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. |
55
61
|[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. |
56
62
|[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. |
57
63
|[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. |
58
-
| [multiple-data-sources](https://github.com/Azure-Samples/azure-search-dotnet-scale/tree/main/multiple-data-sources) | [Tutorial: Index from multiple data sources](tutorial-multiple-data-sources.md). | Merges content from two data sources into one search index.
59
-
|[Optimize-data-indexing](https://github.com/Azure-Samples/azure-search-dotnet-scale/tree/main/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. |
60
-
|[tutorial-ai-enrichment](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/main/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. |
61
-
|[create-mvc-app](https://github.com/Azure-Samples/azure-search-dotnet-samples/tree/main/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.|
64
+
|[DotNetVectorDemo](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-dotnet/DotNetVectorDemo)|[readme](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-dotnet/DotNetVectorDemo/readme.md)| Create, load, and query a vector store. |
65
+
|[DotNetIntegratedVectorizationDemo](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-dotnet/DotNetIntegratedVectorizationDemo)|[readme](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-dotnet/DotNetIntegratedVectorizationDemo/readme.md)| Extends the vector workflow to include skills-based automation for data chunking and embedding. |
62
66
63
67
## Accelerators
64
68
@@ -84,7 +88,6 @@ The following samples are also published by the Azure AI Search team, but aren't
84
88
85
89
| Samples | Repository | Description |
86
90
|---------|------------|-------------|
87
-
|[DotNetVectorDemo](https://github.com/Azure/azure-search-vector-samples/blob/main/demo-dotnet/DotNetVectorDemo/readme.md)|[azure-search-vector](https://github.com/Azure/cognitive-search-vector-pr)| Calls Azure OpenAI to generate embeddings and Azure AI Search to create, load, and query an index. |
88
91
|[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. |
89
92
|[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. |
90
93
|[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. |
Copy file name to clipboardExpand all lines: articles/search/samples-javascript.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.custom:
12
12
- devx-track-js
13
13
- ignite-2023
14
14
ms.topic: conceptual
15
-
ms.date: 08/01/2023
15
+
ms.date: 01/25/2024
16
16
---
17
17
18
18
# JavaScript samples for Azure AI Search
@@ -39,7 +39,7 @@ Code samples from the Azure SDK development team demonstrate API usage. You can
39
39
|[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).|
40
40
|[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. |
41
41
|[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). |
42
-
|[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). |
42
+
|[VectorSearch](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/search/search-documents/samples/v12-beta/javascript/vectorSearch.js)| Demonstrates how to index vectors and send a [vector query](vector-search-how-to-query.md). |
43
43
44
44
### TypeScript samples
45
45
@@ -50,6 +50,7 @@ Code samples from the Azure SDK development team demonstrate API usage. You can
50
50
|[indexers](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/v11/typescript/src)| Demonstrates how to create, update, get, list, reset, and delete [indexers](search-indexer-overview.md).|
51
51
|[skillSet](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/search/search-documents/samples/v11/typescript/src/skillSetOperations.ts)| 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. |
52
52
|[synonymMaps](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/search/search-documents/samples/v11/typescript/src/synonymMapOperations.ts)| Demonstrates how to create, update, get, list, and delete [synonym maps](search-synonyms.md). |
53
+
|[VectorSearch](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/search/search-documents/samples/v12/typescript/src/vectorSearch.ts)| Demonstrates how to index vectors and send a [vector query](vector-search-how-to-query.md). |
53
54
54
55
## Doc samples
55
56
@@ -69,5 +70,5 @@ The following samples are also published by the Azure AI Search team, but aren't
69
70
70
71
| Samples | Description |
71
72
|---------|-------------|
72
-
|[azure-search-vector-sample.js](https://github.com/Azure/cognitive-search-vector-pr/tree/main/demo-javascript)| Vector search sample using the Azure SDK for JavaScript |
73
+
|[azure-search-vector-sample.js](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-javascript/JavaScriptVectorDemo)| Vector search sample using the Azure SDK for JavaScript |
73
74
|[azure-search-react-template](https://github.com/dereklegenzoff/azure-search-react-template)| React template for Azure AI Search (github.com) |
0 commit comments