简体   繁体   English

Azure 认知搜索:从 azure blob 存储中获取整个文档作为搜索结果

[英]Azure Cognitive Search: Getting entire document as a search result from azure blob storage

I am using azure blob storage to store my documents.我正在使用 azure blob 存储来存储我的文档。 When I am searching for a particular topic present in the document, I am getting the entire document(.pdf) as a search result.当我搜索文档中存在的特定主题时,我将整个文档 (.pdf) 作为搜索结果。

Now my requirement is to:现在我的要求是:

  1. Open the PDF in which a match is found.打开找到匹配项的 PDF。
  2. Go to the specific page number where searched is matched转到搜索匹配的特定页码
  3. Highlight the matched text.突出显示匹配的文本。

To do such a thing, do we need any kind of custom skill that should be added in a skill set.为了做这样的事情,我们是否需要任何应该添加到技能集中的自定义技能。

In the Azure Search Power Skills , there is a custom skill that will help with that: the hOCR generator at https://github.com/Azure-Samples/azure-search-power-skills/blob/master/Vision/HocrGenerator/README.md .Azure Search Power Skills 中,有一个自定义技能可以帮助解决这个问题: https ://github.com/Azure-Samples/azure-search-power-skills/blob/master/Vision/HocrGenerator/ 上的 hOCR 生成器README.md The hOCR format is what allows us to provide highlighting of documents in the JFK demo . hOCR 格式允许我们在JFK 演示中突出显示文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM