Exact Phrase match and proper result shows in highlight is not working ?

Lokesh 1 Reputation point
2020-07-17T04:57:27.823+00:00

1) Highlight from top of the document - currently it shows randomly document
2) Exact match as similar in phrase
3) not highlight relevant words like If I search "Top company" then it will highlight exact match "Top company" instead of "Top" of the brand "company"

Request of Post Api
{
"search": "\"Top company\"",
"count": true,
"skip": 0,
"top": 100,
"highlight": "content-1000",
"filter": "contractId ne 15785",
"queryType": "full",
"searchMode": "all",
"scoringProfile": "exactFirst",
"highlightPreTag": "<strong>",
"highlightPostTag": "</strong>"
}

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,182 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 22,186 Reputation points
    2020-07-20T10:09:59.83+00:00

    @Lokesh-2414 Thanks for asking question! As per New Behavior as mentioned here in this document:
    https://learn.microsoft.com/ru-ru/azure/search/search-pagination-page-layout#new-behavior-starting-july-15
    Only phrases matching the full phrase query will be returned. Example as A Super Bowl query returns approximately the following items:
    '<em>super bowl</em> is super awesome with a bowl of chips'
    Please note that the term bowl of microcircuits does not have a highlight since it does not match the complete phrase.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.