{ "query": "", "page": { "size": 18 }, "filters": { "all": [ { "published": "1" }, { "psid": "58" } ] }, "sort": [ { "geopoint": { "pin.location": [ 4.342083917809, -2.9475302108444 ], "order": "asc", "unit": "km", "mode": "min", "distance_type": "arc", "ignore_unmapped": true } } ] }
i'm receiving error like this :
{
"errors": [
"Sort direction '{\"pin.location\"=>[4.342083917809, -2.9475302108444], \"order\"=>\"asc\", \"unit\"=>\"km\", \"mode\"=>\"min\", \"distance_type\"=>\"arc\", \"ignore_unmapped\"=>true}' is not 'asc' or 'desc'"
]
}
I do not understand. Please need help.