My database has approximately 103 million documents representing polygons in the UK.
Currently, a query for a 10x10m square can scan 500-100 rows and return 5.
I know S2-geo-lib has the potential for cells of <2cm so I believe the default values in S2IndexingParams:
maxCellsInCovering
finestIndexedLevel
coarsestIndexedLevel
are inadequate for me at the moment, and so it would be beneficial to be able to set these upon index creation.
- is duplicated by
-
SERVER-10451 2dsphere default parameters are poor
- Closed
- is related to
-
SERVER-18724 findOne with $near force scan whole collection with dense map
- Closed
-
SERVER-30915 Creating 2dsphere index on collection with documents containing location coordinates consumes high memory
- Closed
- related to
-
SERVER-50172 Allow maxCellsInCovering index parameter
- Backlog