Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-2302

can't find special index: 2d

      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" :

      { "_id" : 1 }

      ,
      "ns" : "mmw_development.users",
      "name" : "id"
      },
      {
      "v" : 1,
      "key" :

      { "status" : 1 }

      ,
      "ns" : "mmw_development.users",
      "background" : true,
      "name" : "status_1"
      },
      {
      "v" : 1,
      "key" :

      { "gender" : 1 }

      ,
      "ns" : "mmw_development.users",
      "background" : true,
      "name" : "gender_1"
      },
      {
      "v" : 1,
      "key" :

      { "orientation" : 1 }

      ,
      "ns" : "mmw_development.users",
      "background" : true,
      "name" : "orientation_1"
      }
      ]

            Assignee:
            Unassigned Unassigned
            Reporter:
            sdhull sdhull
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: