Skip to content

Commit fb5c6bb

Browse files
authored
Merge pull request #58134 from LuisCabrer/patch-41
JSON Array support is now generally available.
2 parents 86794ae + e87af92 commit fb5c6bb

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@ JSON blobs in Azure Blob storage are typically either a single JSON document or
2121
| JSON document | parsingMode | Description | Availability |
2222
|--------------|-------------|--------------|--------------|
2323
| One per blob | `json` | Parses JSON blobs as a single chunk of text. Each JSON blob becomes a single Azure Search document. | Generally available in both [REST](https://docs.microsoft.com/rest/api/searchservice/indexer-operations) and [.NET](https://docs.microsoft.com/dotnet/api/microsoft.azure.search.models.indexer) APIs. |
24-
| Multiple per blob | `jsonArray` | Parses a JSON array in the blob, where each element of the array becomes a separate Azure Search document. | In preview, in [REST api-version=`2017-11-11-Preview`](search-api-2017-11-11-preview.md) and [.NET SDK Preview](https://aka.ms/search-sdk-preview). |
24+
| Multiple per blob | `jsonArray` | Parses a JSON array in the blob, where each element of the array becomes a separate Azure Search document. | Generally available in both [REST](https://docs.microsoft.com/rest/api/searchservice/indexer-operations) and [.NET](https://docs.microsoft.com/dotnet/api/microsoft.azure.search.models.indexer) APIs. |
2525

26-
> [!Note]
27-
> Preview APIs are intended for testing and evaluation, and should not be used in production environments.
28-
>
2926

3027
## Setting up JSON indexing
3128
Indexing JSON blobs is similar to the regular document extraction in a three-part workflow common to all indexers in Azure Search.
@@ -101,9 +98,9 @@ A fully specified request might look as follows:
10198

10299
As noted, field mappings are not required. Given an index with "text", "datePublished, and "tags" fields, the blob indexer can infer the correct mapping without a field mapping present in the request.
103100

104-
## How to parse JSON arrays (preview)
101+
## How to parse JSON arrays
105102

106-
Alternatively, you can opt for the JSON array preview feature. This capability is useful when blobs contain an *array of JSON objects*, and you want each element to become a separate Azure Search document. For example, given the following JSON blob, you can populate your Azure Search index with three separate documents, each with "id" and "text" fields.
103+
Alternatively, you can opt for the JSON array feature. This capability is useful when blobs contain an *array of JSON objects*, and you want each element to become a separate Azure Search document. For example, given the following JSON blob, you can populate your Azure Search index with three separate documents, each with "id" and "text" fields.
107104

108105
[
109106
{ "id" : "1", "text" : "example 1" },
@@ -113,9 +110,9 @@ Alternatively, you can opt for the JSON array preview feature. This capability i
113110

114111
### Indexer definition for a JSON array
115112

116-
For a JSON array, the indexer request uses the preview API and the `jsonArray` parser. These are the only two array-specific requirements for indexing JSON blobs.
113+
For a JSON array, the indexer request uses the `jsonArray` parser. These are the only two array-specific requirements for indexing JSON blobs.
117114

118-
POST https://[service name].search.windows.net/indexers?api-version=2017-11-11-Preview
115+
POST https://[service name].search.windows.net/indexers?api-version=2017-11-11
119116
Content-Type: application/json
120117
api-key: [admin key]
121118

0 commit comments

Comments
 (0)