@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.
Exact Phrase match and proper result shows in highlight is not working ?
Lokesh
1
Reputation point
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>"
}
1 answer
Sort by: Most helpful
-
SnehaAgrawal-MSFT 22,186 Reputation points
2020-07-20T10:09:59.83+00:00