-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
ALL
SERVER-54712 broke a test in the Swift driver against latest (v4.9.0-alpha7-524-ge07610a) which was relying on the server accepting weights for a non text index. In the process of investigating I noticed that there seem to be a number of other text index-only options that are still allowed for a non-text index:
- default_language
- language_override
- textIndexVersion
I would assume these should be handled in the same way as weights? Sorry if there's a ticket for this already; it didn't seem to quite be covered by those linked to SERVER-54712.
- duplicates
-
SERVER-49224 Improve validation of index spec fields
- Closed
- is related to
-
SERVER-97084 Validate in createIndex that options for 2dsphere, text, etc. indexes are only used with matching index types
- Backlog
- related to
-
SERVER-54712 createIndexes permits weights for non-text indexes
- Closed
-
SERVER-49224 Improve validation of index spec fields
- Closed