Condividi tramite


IndexingParametersExtensions Class

Definition

Defines extension methods for the IndexingParameters class.

public static class IndexingParametersExtensions
type IndexingParametersExtensions = class
Public Module IndexingParametersExtensions
Inheritance
IndexingParametersExtensions

Methods

DoNotFailOnUnsupportedContentType(IndexingParameters)
Obsolete.

Specifies that BlobExtractionMode.StorageMetadata blob extraction mode will be automatically used for blobs of unsupported content types. This behavior is enabled by default.

ExcludeFileNameExtensions(IndexingParameters, String[])

Specifies that the indexer will not index blobs with the file name extensions you specify. Each string is a file extensions with a leading dot. For example, ".pdf", ".docx", etc. If you pass the same file extension to this method and IndexFileNameExtensions, blobs with that extension will be excluded from indexing (that is, this method takes precedence). See https://docs.microsoft.com/azure/search/search-howto-indexing-azure-blob-storage for details.

IndexFileNameExtensions(IndexingParameters, String[])

Specifies that the indexer will index only the blobs with the file name extensions you specify. Each string is a file extensions with a leading dot. For example, ".pdf", ".docx", etc. If you pass the same file extension to this method and ExcludeFileNameExtensions, blobs with that extension will be excluded from indexing (that is, ExcludeFileNameExtensions takes precedence). See https://docs.microsoft.com/azure/search/search-howto-indexing-azure-blob-storage for details.

ParseDelimitedTextFiles(IndexingParameters, String[])

Tells the indexer to assume that all blobs are delimited text files. Currently only comma-separated value (CSV) text files are supported. See https://docs.microsoft.com/azure/search/search-howto-index-csv-blobs for details.

ParseJson(IndexingParameters)

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

ParseJsonArrays(IndexingParameters, String)

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.

ParseJsonLines(IndexingParameters)

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

ParseText(IndexingParameters, Encoding)

Tells the indexer to assume that blobs should be parsed as text files in the desired encoding. See https://docs.microsoft.com/azure/search/search-howto-indexing-azure-blob-storage#indexing-plain-text

ParseText(IndexingParameters)

Tells the indexer to assume that blobs should be parsed as text files in UTF-8 encoding. See https://docs.microsoft.com/azure/search/search-howto-indexing-azure-blob-storage#indexing-plain-text

SetBlobExtractionMode(IndexingParameters, BlobExtractionMode)

Specifies which parts of a blob will be indexed by the blob storage indexer.

Applies to