Azure Blob存储索引器在映像上失败 [英] Azure Blob Storage Indexer fails on images
问题描述
我正在将Azure搜索与Blob存储索引器一起使用.我在执行历史记录中看到失败:-
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.
更新,您也可以从索引中跳过带有某些文件扩展名的所有blob-请参见
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
这篇关于Azure Blob存储索引器在映像上失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!