Currently, 2DSphere points are indexed by default in cells of size ~500x500 meters. During $near queries, because points are indexed too coarsely, less can be filtered out during index scans. Indexing at finest level should give minor improvements in performance.
Furthermore, with points indexed at finest level, queries on dense data (e.g. SERVER-18724) can be improved by modifying the query finest covering level to be finer.
- depends on
-
SERVER-19097 New geo index version for geo performance improvement
- Closed
- is related to
-
SERVER-19072 More compact 2dsphere geo index format
- Closed
- related to
-
SERVER-18724 findOne with $near force scan whole collection with dense map
- Closed