-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: 6.0
-
Fix Version/s: 7.1
-
Component/s: Core MongoDB
-
Tags:
MongoDB cannot index values larger than 1024 bytes. As this limit is very quickly reached when indexing full-text, we cannot reliably use full-text search in MongoDB and therefore this feature should be disabled by default.
Only customers who really need to index full-text in MongoDB and can ensure they stay below the 1024 bytes limit should re-enable it.
Note: to avoid failures on values that are too long, it's possible since MongoDB 2.6 to use the failIndexKeyTooLong parameter and set it to false. See Compatibility Changes in MongoDB 2.6 for more.