Sort based on specific string in Elastic AppSearch

Want sorted result base on string.
Like I have rating {Good, average, bad}. And want sorted result according to average.
How can this be achieved in AppSearch.

Hey @Atul_Diwedi

I suggest representing the rating as a number (Good = 1, average = 2, bad = 3) and sorting on this numeric field.

Thanks
Joe

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.