Issue Description
I have 2 classes: Cars and CarShops ( CarShops has a GeoPoint "location" )
I want to query the database for nearest cars.
When i execute the query i get this error:
planner returned error: unable to find index for $geoNear query
Steps to reproduce
var userGeo = new Parse.GeoPoint({longitude:longitude, latitude:latitude});
var locationQuery = new Parse.Query("CarShops");
locationQuery.near("location", userGeo);
var query = new Parse.Query("Cars");
query.include("carshop");
query.matchesQuery("carshop", locationQuery);
query.find()
.then( res => {
response = res;
})
Issue Description
I have 2 classes: Cars and CarShops ( CarShops has a GeoPoint "location" )
I want to query the database for nearest cars.
When i execute the query i get this error:
planner returned error: unable to find index for $geoNear query
Steps to reproduce