搜索分数是添加到搜索请求响应中每个搜索结果的属性。尝试使用您最喜欢的 REST 客户端或 Azure Poral 发出一个简单的搜索请求。下面是响应对象的示例。 @search.score 就是您要查找的内容。
"value": [
{
"@search.score": 7.3617697,
"HotelId": "21",
"HotelName": "Nova Hotel & Spa",
"Description": "1 Mile from the airport. Free WiFi, Outdoor Pool, Complimentary Airport Shuttle, 6 miles from the beach & 10 miles from downtown.",
"Category": "Resort and Spa",
"Tags": [
"pool",
"continental breakfast",
"free parking"
]
},
{
"@search.score": 2.5560288,
"HotelId": "25",
"HotelName": "Scottish Inn",
"Description": "Newly Redesigned Rooms & airport shuttle. Minutes from the airport, enjoy lakeside amenities, a resort-style pool & stylish new guestrooms with Internet TVs.",
"Category": "Luxury",
"Tags": [
"24-hour front desk service",
"continental breakfast",
"free wifi"
]
}]
示例来自这里:https://docs.microsoft.com/en-us/azure/search/search-query-simple-examples#example-1-full-text-search