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

Make 2dsphere indexes adhere to normal sparse index rules

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.5.3
    • Component/s: Geo, Index Maintenance
    • Labels:
      None
    • ALL

      The intent here is to make 2dsphere indexes behave the same as normal indexes with regard to sparseness. In SERVER-9639 the behavior was changed to mimic 2d indexes, which treat the index as sparse if a doc is missing geo fields.

      Sparse-by-default means the query optimizer can't use compound geo indexes to satisfy non-geo queries.

      Need to confirm that 2dsphere honors the sparse designation if it's chosen specifically and that it's possible to index a document with an undefined or null geo field.

            Assignee:
            dan@mongodb.com Daniel Pasette (Inactive)
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: