Page 1 of 2
"can't find any special indices: 2d (needs index), 2dsphere (needs index),
Posted: Sun May 12, 2013 9:25 pm
by geevaa
{"code":"DBSQ000","description":"can't find any special indices: 2d (needs index), 2dsphere (needs index), for: { location: { $nearSphere: [ 13.028954, 80.23146969999999 ], $maxDistance: 0.01262945188178833 }, $and: [ { $or: [ { acl: null }, { acl.*.read: true } ] } ] }"}
How to fix the above error ?
"can't find any special indices: 2d (needs index), 2dsphere (needs index),
Posted: Sun May 12, 2013 9:28 pm
by maxkatz
Where exactly do you get this error? You need to provide more information. Are you using Appery.io backend?
"can't find any special indices: 2d (needs index), 2dsphere (needs index),
Posted: Sun May 12, 2013 9:30 pm
by geevaa
yes. trying to fetch data from appery.io backend collection
"can't find any special indices: 2d (needs index), 2dsphere (needs index),
Posted: Sun May 12, 2013 9:31 pm
by Igor
Hello.
Can you provide additional information about how did you got this response?
What is the service url?
"can't find any special indices: 2d (needs index), 2dsphere (needs index),
Posted: Sun May 12, 2013 9:31 pm
by geevaa
I am giving return '{ "location" : {"$nearSphere" : [13.028954, 80.23146969999999],"$maxDistanceInMiles" : 50}}'; as 'getjs' in 'where' box
"can't find any special indices: 2d (needs index), 2dsphere (needs index),
Posted: Sun May 12, 2013 9:35 pm
by maxkatz
Please also post the complete request you are sending, and your collection structure (just 1-2 rows and column names)
"can't find any special indices: 2d (needs index), 2dsphere (needs index),
Posted: Sun May 12, 2013 9:39 pm
by geevaa
"can't find any special indices: 2d (needs index), 2dsphere (needs index),
Posted: Sun May 12, 2013 9:41 pm
by geevaa
"can't find any special indices: 2d (needs index), 2dsphere (needs index),
Posted: Sun May 12, 2013 9:43 pm
by geevaa
"can't find any special indices: 2d (needs index), 2dsphere (needs index),
Posted: Sun May 12, 2013 9:45 pm
by geevaa