Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3653

Issues with multiple spatial indexes

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • 1.9.2
    • Geo
    • None
    • ALL

    Description

      We currently say in the docs that we allow only one spatial index per collection. However:

      • It's possible to create more than on spatial index on a collection, and $near queries seem to work on them.
      • geoNear commands always fail when there's more than one spatial index.

      We should either:

      • Enforce the single spatial index constraint

      or

      • Allow the user to specify which field to search using the geoNear command, and remove the limitation from the docs.

      Attachments

        Activity

          People

            hari.khalsa@10gen.com hari.khalsa@10gen.com
            kbanker Kyle Banker
            Votes:
            5 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: