-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
failed with error 13038: "can't find special index: 2d for: { loc:
{ $near: [ \"37.7618242\", \"-122.39858709999999\" ] }}"
<Steves-MacBook-Pro:shull> 0 [08-18 20:54] (master)~/Dev/mmw
! rake db:mongoid:create_indexes
MONGOID: Created indexes on User:
MONGOID: Index: {:loc=>"2d"}, Options: {}
MONGOID: Index: {:status=>1}, Options: {:background=>true}
MONGOID: Index: {:gender=>1}, Options: {:background=>true}
MONGOID: Index: {:orientation=>1}, Options: {:background=>true}
<Steves-MacBook-Pro:shull> 0 [08-18 20:54] (master)~/Dev/mmw
! mongo
MongoDB shell version: 2.0.6
connecting to: test
> use mmw_development
switched to db mmw_development
> db.users.getIndexes()
[
{
"v" : 1,
"key" :
,
"ns" : "mmw_development.users",
"name" : "id"
},
{
"v" : 1,
"key" :
,
"ns" : "mmw_development.users",
"background" : true,
"name" : "status_1"
},
{
"v" : 1,
"key" :
,
"ns" : "mmw_development.users",
"background" : true,
"name" : "gender_1"
},
{
"v" : 1,
"key" :
,
"ns" : "mmw_development.users",
"background" : true,
"name" : "orientation_1"
}
]