英文:
Azure search indexer is failing frequently
问题
我有一组存储在Azure Blob存储中的文件。我正在尝试根据每日基础对所有这些文件进行索引。有时索引器运行时会出现错误。我不确定为什么有时会失败,有时会成功运行。
尝试解决错误,但无法解决。因为有时索引器成功运行,有时不成功。
英文:
I have set of files stored in Azure blob storage. I am trying to index all these files based on daily basis. Some times indexer runs are failing with errors. I am not sure why it is failing sometimes and sometimes it will run successfully.
Tried to resolve error but not able to solve it. Because sometimes indexer runs successfully and sometimes not.
答案1
得分: 2
根据错误信息,看起来您存储中的一些文件不支持 Azure 搜索索引或文件可能已损坏。建议检查文件是否损坏,或者文件是否不受支持以进行索引,如此处所述。
我已经尝试过以下步骤:
-
我在存储帐户中列出了具有不同格式的文件。
-
创建了索引、数据源、技能集和索引器。
-
由于数据源中有不同的格式,因此在索引器中配置了允许的格式,如下所示。
-
在这种情况下,索引器将不会因为不支持的格式而失败。
-
如果您不想在失败情况下停止索引器运行,可以按照下面的参考链接中所示配置索引器设置。
英文:
By looking at error, it seems like some of the files in your storage are not supported for azure search indexing or files may be corrupted. Suggesting to check files are corrupted, or the files are not supported for indexing as mentioned here.
I have tried from my side and below are steps i followed,
- I have list of files in storage account which are having different formats.
- Created index, data source , skillset and indexer.
- As there are different formats in data source configured allowed formats in indexer as shown below,
- In this case, indexer will not fail for unsupported formats.
- Also if you don't want to stop run of indexer in failure case, you can configure setting in indexer as shown below and reference is here,
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论