Skip to content

Commit 64af179

Browse files
Merge pull request #263600 from HeidiSteen/heidist-jan
[azure search] January refresh #6
2 parents 681bf8e + 8ce59e5 commit 64af179

10 files changed

+156
-161
lines changed

articles/search/TOC.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,11 @@
250250
items:
251251
- name: Create a vector index
252252
href: vector-search-how-to-create-index.md
253-
- name: Configure a vectorizer (vectors)
253+
- name: Configure a vectorizer (preview)
254254
href: vector-search-how-to-configure-vectorizer.md
255-
- name: Chunk documents (vectors)
255+
- name: Chunk documents
256256
href: vector-search-how-to-chunk-documents.md
257-
- name: Generate embeddings (vectors)
257+
- name: Generate embeddings
258258
href: vector-search-how-to-generate-embeddings.md
259259

260260
- name: Analyzers

articles/search/cognitive-search-output-field-mapping.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ ms.service: cognitive-search
88
ms.custom:
99
- ignite-2023
1010
ms.topic: conceptual
11-
ms.date: 09/14/2022
11+
ms.date: 01/18/2024
1212
---
1313

1414
# Map enriched output to fields in a search index in Azure AI Search
1515

1616
![Indexer Stages](./media/cognitive-search-output-field-mapping/indexer-stages-output-field-mapping.png "indexer stages")
1717

18-
This article explains how to set up *output field mappings* that determine a data path between in-memory data structures created during skill processing, and target fields in a search index. An output field mapping is defined in an [indexer](search-indexer-overview.md) and has the following elements:
18+
This article explains how to set up *output field mappings*, defining a data path between in-memory data structures created during [skillset processing](cognitive-search-concept-intro.md), and target fields in a search index. An output field mapping is defined in an [indexer](search-indexer-overview.md) and has the following elements:
1919

2020
```json
2121
"outputFieldMappings": [
@@ -27,7 +27,7 @@ This article explains how to set up *output field mappings* that determine a dat
2727
],
2828
```
2929

30-
In contrast with a [`fieldMappings`](search-indexer-field-mappings.md) definition that maps a path between two physical data structures, an `outputFieldMappings` definition maps in-memory data to fields in a search index.
30+
In contrast with a [`fieldMappings`](search-indexer-field-mappings.md) definition that maps a path between two physical data structures, an `outputFieldMappings` definition maps in-memory enrichments to fields in a search index.
3131

3232
Output field mappings are required if your indexer has an attached [skillset](cognitive-search-working-with-skillsets.md) that creates new information, such as text translation or key phrase extraction. During indexer execution, AI-generated information exists in memory only. To persist this information in a search index, you'll need to tell the indexer where to send the data.
3333

@@ -37,7 +37,7 @@ Output field mappings apply to:
3737

3838
+ In-memory content that's created by skills or extracted by an indexer. The source field is a node in an enriched document tree.
3939

40-
+ Search indexes. If you're populating a [knowledge store](knowledge-store-concept-intro.md), use [projections](knowledge-store-projections-examples.md) for data path configuration.
40+
+ Search indexes. If you're populating a [knowledge store](knowledge-store-concept-intro.md), use [projections](knowledge-store-projections-examples.md) for data path configuration. If you're populating a vector store, output field mappings aren't used.
4141

4242
Output field mappings are applied after [skillset execution](cognitive-search-working-with-skillsets.md) or after document cracking if there's no associated skillset.
4343

@@ -60,7 +60,7 @@ Output field mappings are added to the `outputFieldMappings` array in an indexer
6060
|----------|-------------|
6161
| sourceFieldName | Required. Specifies a path to enriched content. An example might be `/document/content`. See [Reference enrichments in an Azure AI Search skillset](cognitive-search-concept-annotations-syntax.md) for path syntax and examples. |
6262
| targetFieldName | Optional. Specifies the search field that receives the enriched content. Target fields must be top-level simple fields or collections. It can't be a path to a subfield in a complex type. If you want to retrieve specific nodes in a complex structure, you can [flatten individual nodes](#flattening-information-from-complex-types) in memory, and then send the output to a string collection in your index. |
63-
| mappingFunction | Optional. Adds extra processing provided by [mapping functions](search-indexer-field-mappings.md#mappingFunctions) supported by indexers. In the case of enrichment nodes, encoding and decoding are the most commonly used functions. |
63+
| mappingFunction | Optional. Adds extra processing provided by [mapping functions](search-indexer-field-mappings.md#mappingFunctions) supported by indexers. For enrichment nodes, encoding and decoding are the most commonly used functions. |
6464

6565
You can use the REST API or an Azure SDK to define output field mappings.
6666

@@ -103,7 +103,7 @@ api-key: [admin key]
103103
}
104104
```
105105

106-
For each output field mapping, set the location of the data in the enriched document tree (sourceFieldName), and the name of the field as referenced in the index (targetFieldName). Assign any [mapping functions](search-indexer-field-mappings.md#mappingFunctions) that you require to transform the content of a field before it's stored in the index.
106+
For each output field mapping, set the location of the data in the enriched document tree (sourceFieldName), and the name of the field as referenced in the index (targetFieldName). Assign any [mapping functions](search-indexer-field-mappings.md#mappingFunctions) needed to transform the content of a field before it's stored in the index.
107107

108108
### [**.NET SDK (C#)**](#tab/csharp)
109109

@@ -129,7 +129,6 @@ SearchIndexer indexer = new SearchIndexer(
129129

130130
await indexerClient.CreateIndexerAsync(indexer);
131131
```
132-
-->
133132

134133
---
135134

articles/search/search-how-to-alias.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: cognitive-search
88
ms.custom:
99
- ignite-2023
1010
ms.topic: how-to
11-
ms.date: 04/04/2023
11+
ms.date: 01/18/2024
1212
---
1313

1414
# Create an index alias in Azure AI Search
@@ -37,7 +37,7 @@ You can create an alias using the preview REST API, the preview SDKs, or through
3737
You can use the [Create or Update Alias (REST preview)](/rest/api/searchservice/preview-api/create-or-update-alias) to create an index alias.
3838

3939
```http
40-
POST /aliases?api-version=2021-04-30-preview
40+
POST /aliases?api-version=2023-10-01-preview
4141
{
4242
"name": "my-alias",
4343
"indexes": ["hotel-samples-index"]
@@ -58,7 +58,7 @@ Follow the steps below to create an index alias in the Azure portal.
5858
### [**.NET SDK**](#tab/sdk)
5959

6060

61-
In the preview [.NET SDK](https://www.nuget.org/packages/Azure.Search.Documents/11.5.0-beta.5) for Azure AI Search, you can use the following syntax to create an index alias.
61+
Using one of the beta packages from the [Azure SDK for .NET](https://www.nuget.org/packages/Azure.Search.Documents/), you can use the following syntax to create an index alias.
6262

6363
```csharp
6464
// Create a SearchIndexClient
@@ -69,7 +69,7 @@ SearchAlias myAlias = new SearchAlias("my-alias", "hotel-quickstart-index");
6969
adminClient.CreateAlias(myAlias);
7070
```
7171

72-
Index aliases are also supported in the latest preview SDKs for [Java](https://search.maven.org/artifact/com.azure/azure-search-documents/11.6.0-beta.1/jar), [Python](https://pypi.org/project/azure-search-documents/11.4.0b1/), and [JavaScript](https://www.npmjs.com/package/@azure/search-documents/v/11.3.0-beta.8).
72+
Index aliases are also supported in the latest preview SDKs for [Java](https://central.sonatype.com/artifact/com.azure/azure-search-documents/versions), [Python](https://pypi.org/project/azure-search-documents/#history), and [JavaScript](https://www.npmjs.com/package/@azure/search-documents?activeTab=versions).
7373

7474
---
7575

@@ -80,7 +80,7 @@ Once you've created your alias, you're ready to start using it. Aliases can be u
8080
In the query below, instead of sending the request to `hotel-samples-index`, you can instead send the request to `my-alias` and it will be routed accordingly.
8181

8282
```http
83-
POST /indexes/my-alias/docs/search?api-version=2021-04-30-preview
83+
POST /indexes/my-alias/docs/search?api-version=2023-10-01-preview
8484
{
8585
"search": "pool spa +airport",
8686
"searchMode": any,
@@ -102,12 +102,13 @@ If you expect to make updates to a production index, specify an alias rather tha
102102
Now, whenever you need to update your application to point to a new index, all you need to do is update the mapping in your alias. PUT is required for updates as described in [Create or Update Alias (REST preview)](/rest/api/searchservice/preview-api/create-or-update-alias).
103103

104104
```http
105-
PUT /aliases/my-alias?api-version=2021-04-30-preview
105+
PUT /aliases/my-alias?api-version=2023-10-01-preview
106106
{
107107
"name": "my-alias",
108108
"indexes": ["hotel-samples-index2"]
109109
}
110110
```
111+
111112
After you make the update to the alias, requests will automatically start to be routed to the new index.
112113

113114
> [!NOTE]

0 commit comments

Comments
 (0)