Azure的搜索命中高亮和匹配定界符 [英] Azure search hit-highlighting and match delimiter

查看:202
本文介绍了Azure的搜索命中高亮和匹配定界符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用命中突出蔚蓝的搜索。它工作正常,但我要微调了一点。

I am using hit-highlighting in azure search. It works fine but I want to fine tune it a bit.

也就是说,一个字段具有以下值:
它使用句点作为分隔符。如果不是,请说明

Say, a field has the following value: "It uses period as the delimiter. If not, please clarify"

如果我搜索讨好我会的一大亮点打在那场,例如:
如果不是,< EM> < / EM> 澄清

If I search for "please" I will get a highlight hit on that field, e.g.: "If not, <em>please</em> clarify"

如果我搜索月经我会的一大亮点打在那场,例如:
它使用&LT; EM&GT; &LT; / EM方式&gt; 作为分隔符

If I search for "period" I will get a highlight hit on that field, e.g.: "It uses <em>period</em> as the delimiter."

与几个例子试图它之后似乎它使用周期(。)作为分隔符,使得它不返回的整个领域

After trying it with several examples it seems that it uses period (".") as a delimiter so that it doesn't return the whole field.

从另一个SO问题(打在Azure中搜索服务突出),它看来,我不能配置蔚蓝搜索与突出显示的所有条款退还的全部领域。

From another SO question (Hit Highlighting in Azure Search Service) it seems that I cannot configure azure search to return the whole field with all terms highlighted.

我要问:


  1. 如果这真的是这样或更复杂的规则适用

  2. 请我的领域是如何拆分词突出显示,如任何控制改变分隔符说,或\\ n

在此先感谢

推荐答案

不幸的是,没有办法定义文件如何被拆分的命中突出显示。随意使用Azure的搜索用户语音网站发布改进的想法给其他用户的机会把票投给他们,帮助我们确定:的 http://feedback.azure.com/forums/263029-azure-search

Unfortunately there is no way to customize how documents are split for hit highlighting. Feel free to use Azure Search User Voice website to post improvements ideas giving other users opportunity to vote for them and helping us prioritize: http://feedback.azure.com/forums/263029-azure-search

命中荧光笔文件分割成句子。一般来说它是公平的假设它打破上的点,但它也处理的缩写等。

The hit highlighter splits documents into sentences. In general it's fair to assume it breaks on dots but it also handles abbreviations etc.

这篇关于Azure的搜索命中高亮和匹配定界符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆