Azure Blob Storage Indexer fails on images

旧时模样 提交于 2020-01-17 05:23:15

问题


I'm using Azure Search with a Blob Storage indexer. I'm seeing failures in the execution history:-

[
    {
        "key": null,
        "errorMessage": "Document 'https://mystorage.blob.core.windows.net/my-documents/Document/Repository/F/AD/LO/LO-min-0002-00.png' has unsupported content type 'image/png'"
    }
]

Does this failure cause other documents (with supported content type) in the storage not to be indexed?


回答1:


Yes, by default 1 failed document will stop indexing. You can increase that limit if you just have an occasional unsupported document. You can add AzureSearch_Skip metadata to the blobs you don't want to index as described here.

UPDATE You can also skip all blobs with certain file extensions from indexing - see here for details. This allows you to easily skip all .jpeg or .png files, for example.

Also, please vote for this UserVoice suggestion: Blob indexer should be able to skip unsupported content types instead of treating them as errors



来源:https://stackoverflow.com/questions/36787640/azure-blob-storage-indexer-fails-on-images

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!