Skip to content

Commit 8b16cde

Browse files
Merge pull request #273020 from gmndrg/main
Update search-howto-index-json-blobs.md
2 parents d2ac80f + 08a29bd commit 8b16cde

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

articles/search/search-howto-index-json-blobs.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.service: cognitive-search
1111
ms.custom:
1212
- ignite-2023
1313
ms.topic: how-to
14-
ms.date: 01/11/2024
14+
ms.date: 04/22/2024
1515
---
1616

1717
# Index JSON blobs and files in Azure AI Search
@@ -36,6 +36,10 @@ For both **`jsonArray`** and **`jsonLines`**, you should review [Indexing one bl
3636

3737
Within the indexer definition, you can optionally set [field mappings](search-indexer-field-mappings.md) to choose which properties of the source JSON document are used to populate your target search index. For example, when using the **`jsonArray`** parsing mode, if the array exists as a lower-level property, you can set a "documentRoot" property indicating where the array is placed within the blob.
3838

39+
> [!NOTE]
40+
> When a JSON parsing mode is used, Azure AI Search assumes that all blobs use the same parser (either for **`json`**, **`jsonArray`** or **`jsonLines`**). If you have a mix of different file types in the same data source, consider using [file extension filters](search-blob-storage-integration.md#controlling-which-blobs-are-indexed) to control which files are imported.
41+
42+
3943
The following sections describe each mode in more detail. If you're unfamiliar with indexer clients and concepts, see [Create a search indexer](search-howto-create-indexers.md). You should also be familiar with the details of [basic blob indexer configuration](search-howto-indexing-azure-blob-storage.md), which isn't repeated here.
4044

4145
<a name="parsing-single-blobs"></a>
@@ -74,6 +78,7 @@ api-key: [admin key]
7478
> [!NOTE]
7579
> As with all indexers, if fields do not clearly match, you should expect to explicitly specify individual [field mappings](search-indexer-field-mappings.md) unless you are using the implicit fields mappings available for blob content and metadata, as described in [basic blob indexer configuration](search-howto-indexing-azure-blob-storage.md).
7680
81+
7782
### json example (single hotel JSON files)
7883

7984
The [hotel JSON document data set](https://github.com/Azure-Samples/azure-search-sample-data/tree/main/hotels/hotel-json-documents) on GitHub is helpful for testing JSON parsing, where each blob represents a structured JSON file. You can upload the data files to Blob Storage and use the [**Import data** wizard](search-get-started-portal.md) to quickly evaluate how this content is parsed into individual search documents.

0 commit comments

Comments
 (0)