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

Intersect bounds over non-geo field of compound geo index

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.0-rc8
    • Component/s: Geo, Querying
    • Labels:
      None

      If non-geo fields are not multikey index, we can intersect bounds over non-geo field of compound geo index. Although geo index generates more than one geohash index key for a document, geo index is not "multikey" in terms of query planning, because the predicate of geo field is limited to the same semantic of "$elemMatch", i.e. whether any geohash key of a document is in these intervals. Thus, it's possible to intersect bounds over non-geo field of compound geo index, if they are not "multikey".

            Assignee:
            Unassigned Unassigned
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: