Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4190

Explicitly specify what all index does the geospatial operator supports

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • v1.3.13
    • None
    • manual
    • None

    Description

      On the geo-spatial operator documentation like http://docs.mongodb.org/manual/reference/operator/query/box/#op._S_box. It is not very clear and explicit on what absolute list of geo-indices support that operator.

      On the $box documentation page mentioned here, it says "The query calculates distances using flat (planar) geometry. The 2d geospatial index supports the $box operator." This leaves it open to interpretation if any other indices support this operator?

      It may be be useful to explicitly say that "only 2d geospatial index supports ..." instead of leaving it to users to assume that there is some implicit assumption in that sentence.

      The same is true for all other geo-spatial operators.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            anil.kumar Anil Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 15 weeks ago