You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering how can I use sort by distance? if I set parameter "sort" make it like:
{..., "sort"=>array("name", "id")}
it works ok, but I have a location field which is mapped as "geo_point" but when I add in that array "location" the results disappear, and I guess there is an error underneath (meaning the response from the ES, not your lib)?
Any ideas?
Thank you
The text was updated successfully, but these errors were encountered:
Hi,
I am wondering how can I use sort by distance? if I set parameter "sort" make it like:
it works ok, but I have a location field which is mapped as "geo_point" but when I add in that array "location" the results disappear, and I guess there is an error underneath (meaning the response from the ES, not your lib)?
Any ideas?
Thank you
The text was updated successfully, but these errors were encountered: