Delen via


IndexingParametersExtensions.ParseJsonArrays Method

Definition

Tells the indexer to assume that all blobs contain JSON arrays, which it will then parse such that each JSON object in each array will map to a single document in the search index. See https://docs.microsoft.com/azure/search/search-howto-index-json-blobs for details.

public static Microsoft.Azure.Search.Models.IndexingParameters ParseJsonArrays (this Microsoft.Azure.Search.Models.IndexingParameters parameters, string documentRoot = default);
static member ParseJsonArrays : Microsoft.Azure.Search.Models.IndexingParameters * string -> Microsoft.Azure.Search.Models.IndexingParameters
<Extension()>
Public Function ParseJsonArrays (parameters As IndexingParameters, Optional documentRoot As String = Nothing) As IndexingParameters

Parameters

parameters
IndexingParameters

IndexingParameters to configure.

documentRoot
String

An optional JSON Pointer that tells the indexer how to find the JSON array if it's not the top-level JSON property of each blob. If this parameter is null or empty, the indexer will assume that the JSON array can be found in the top-level JSON property of each blob. Default is null.

Returns

The IndexingParameters instance.

Remarks

This option only applies to indexers that index Azure Blob Storage.

Applies to