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/cognitive-search-tutorial-blob-dotnet.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ Once content is extracted, the [skillset](cognitive-search-working-with-skillset
55
55
56
56
### Download files
57
57
58
-
Download a zip file of the sample data repository and extract the contents.
58
+
Download a zip file of the sample data repository and extract the contents.[Learn how](https://docs.github.com/get-started/start-your-journey/downloading-files-from-github).
59
59
60
60
+[Sample data files (mixed media)](https://github.com/Azure-Samples/azure-search-sample-data/tree/main/ai-enrichment-mixed-media)
Copy file name to clipboardExpand all lines: articles/search/cognitive-search-tutorial-blob.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,9 @@ Once content is extracted, the [skillset](cognitive-search-working-with-skillset
49
49
50
50
### Download files
51
51
52
-
+[Sample data files (mixed media)](https://github.com/Azure-Samples/azure-search-sample-data/tree/main/ai-enrichment-mixed-media). Download a zip file of the sample data repository and extract the contents.
52
+
Download a zip file of the sample data repository and extract the contents. [Learn how](https://docs.github.com/get-started/start-your-journey/downloading-files-from-github).
53
+
54
+
+[Sample data files (mixed media)](https://github.com/Azure-Samples/azure-search-sample-data/tree/main/ai-enrichment-mixed-media).
@@ -122,7 +124,7 @@ POST {{baseUrl}}/datasources?api-version=2023-11-01 HTTP/1.1
122
124
123
125
### Step 2: Create a skillset
124
126
125
-
Call [Create Skillset](/rest/api/searchservice/create-skillset) to specify which enrichment steps are applied to your content.
127
+
Call [Create Skillset](/rest/api/searchservice/create-skillset) to specify which enrichment steps are applied to your content. Skills execute in parallel unless there's a dependency.
126
128
127
129
```http
128
130
### Create a skillset
@@ -309,7 +311,9 @@ POST {{baseUrl}}/skillsets?api-version=2023-11-01 HTTP/1.1
309
311
310
312
### Step 3: Create an index
311
313
312
-
Call [Create Index](/rest/api/searchservice/create-index) to provide the schema used to create inverted indexes and other constructs in Azure AI Search. The largest component of an index is the fields collection, where data type and attributes determine content and behavior in Azure AI Search.
314
+
Call [Create Index](/rest/api/searchservice/create-index) to provide the schema used to create inverted indexes and other constructs in Azure AI Search.
315
+
316
+
The largest component of an index is the fields collection, where data type and attributes determine content and behavior in Azure AI Search. Make sure you have fields for your newly generated output.
313
317
314
318
```http
315
319
### Create an index
@@ -398,7 +402,6 @@ POST {{baseUrl}}/indexes?api-version=2023-11-01 HTTP/1.1
398
402
}
399
403
```
400
404
401
-
402
405
### Step 4: Create and run an indexer
403
406
404
407
Call [Create Indexer](/rest/api/searchservice/create-indexer) to drive the pipeline. The three components you have created thus far (data source, skillset, index) are inputs to an indexer. Creating the indexer on Azure AI Search is the event that puts the entire pipeline into motion.
Copy file name to clipboardExpand all lines: articles/search/search-indexer-field-mappings.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
@@ -63,6 +63,8 @@ Field mappings are added to the `fieldMappings` array of an indexer definition.
63
63
| targetFieldName | Optional. Represents a field in your search index. If omitted, the value of `sourceFieldName` is assumed for the target. Target fields must be top-level simple fields or collections. It can't be a complex type or collection. If you're handling a data type issue, a field's data type is specified in the index definition. The field mapping just needs to have the field's name.|
64
64
| mappingFunction | Optional. Consists of [predefined functions](#mappingFunctions) that transform data. |
65
65
66
+
If you get an error similar to `"Field mapping specifies target field 'Address/city' that doesn't exist in the index"`, it's because target field mappings can't be a complex type. The workaround is to create an index schema that's identical to the raw content for field names and data types. See [Tutorial: Index nested JSON blobs](search-semi-structured-data.md) for an example.
67
+
66
68
Azure AI Search uses case-insensitive comparison to resolve the field and function names in field mappings. This is convenient (you don't have to get all the casing right), but it means that your data source or index can't have fields that differ only by case.
67
69
68
70
> [!NOTE]
@@ -386,7 +388,7 @@ This function converts a string into a formatted JSON object. This can be used f
386
388
387
389
### Example - map text content to a complex field
388
390
389
-
Assume there is a SQL row with a JSON string that needs to be mapped to a (correspondingly defined) complex field in the index, the `toJson` function can be used to achieve this. For instance, if a complex field in the index needs to be populated with the following data:
391
+
Assume there's a SQL row with a JSON string that needs to be mapped to a (correspondingly defined) complex field in the index, the `toJson` function can be used to achieve this. For instance, if a complex field in the index needs to be populated with the following data:
0 commit comments