Azure search highlights for phrases with double quotes

前端 未结 1 1801
野性不改
野性不改 2021-01-14 07:57

We have a azure web application where in there is one search box, when we enter text with double quotes like \"App Service\" it correctly list records with \"App service\" h

1条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-14 08:16

    In Azure Search we use Lucene's Postings Highlighter. This highlighter ignores positions of terms that matched, that's why you see all phrase terms highlighted independently. Unfortunately there is no way to customize this behavior at the moment. I realize this could be confusing to your users.

    Please use our UserVoice page to vote for changing the current behavior.

    0 讨论(0)
提交回复
热议问题