Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in Azure by (13.1k points)

I want to sort out using Azure @search.score desc, (Some of my attributes), but I was not bale to figure it out how to reference this field.

Given below I try to do it.

$orderby=search.score+desc,MyFieldOne,MyFieldTwo

[email protected]+desc,MyFieldOne,MyFieldTwo

$orderby=%40search.score+desc,MyFieldOne,MyFieldTwo

But all this end up getting error.

Can anyone help me with this?

1 Answer

0 votes
by (26.7k points)

Nowadays, Azure search is updated to new data function search.score(). To understand it better below given is an example.

$orderby=search.score() desc, name asc

I hope this will work.

Want to become an azure expert? join azure certification now!!

Related questions

Browse Categories

...