geevaa
Posts: 0
Joined: Thu May 09, 2013 8:13 am

"can't find any special indices: 2d (needs index), 2dsphere (needs index),

{"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 ?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

"can't find any special indices: 2d (needs index), 2dsphere (needs index),

Where exactly do you get this error? You need to provide more information. Are you using Appery.io backend?

geevaa
Posts: 0
Joined: Thu May 09, 2013 8:13 am

"can't find any special indices: 2d (needs index), 2dsphere (needs index),

yes. trying to fetch data from appery.io backend collection

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

"can't find any special indices: 2d (needs index), 2dsphere (needs index),

Hello.

Can you provide additional information about how did you got this response?
What is the service url?

geevaa
Posts: 0
Joined: Thu May 09, 2013 8:13 am

"can't find any special indices: 2d (needs index), 2dsphere (needs index),

I am giving return '{ "location" : {"$nearSphere" : [13.028954, 80.23146969999999],"$maxDistanceInMiles" : 50}}'; as 'getjs' in 'where' box

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

"can't find any special indices: 2d (needs index), 2dsphere (needs index),

Please also post the complete request you are sending, and your collection structure (just 1-2 rows and column names)

Return to “Issues”