[SERVER-13808] Index option "sparse" should be disallowed for text/geo indexes Created: 01/May/14  Updated: 28/Dec/23

Status: Backlog
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Backlog - Query Team (Inactive) Assignee: Backlog - Query Integration
Resolution: Unresolved Votes: 0
Labels: qi-geo, qi-text-search
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to DOCS-7652 geo and text indexes are always spars... Closed
is related to SERVER-13810 Index option "unique" should be disal... Backlog
Assigned Teams:
Query Integration
Participants:

 Description   

Text indexes and geo indexes ignore the "sparse" option entirely. To reduce confusion, ensureIndex() should return an error if this option is included for a text/geo index build.



 Comments   
Comment by Charlie Swanson [ 16/Feb/18 ]

This isn't as easy as it sounds due to upgrade/downgrade concerns. We have to figure out what to do if such an index already exists in the catalog.

Generated at Thu Feb 08 03:32:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.