-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Text Search
-
None
Currently there is a limitation of one text index on a collection. I would like to ask that this limitation is relaxed.
My use case is that I have documents which have fields which have content in different languages (and there are also fields which are not translated, like creation timestamp, etc.). I would like to have a separate text index over text content for each language.
My current workaround is to create an additional collection per language, copy into it only language specific fields, have an index there, and then when querying, first query that collection, then use $lookup to join with the main collection, and then do more queries there. But this is cumbersome and I think less efficient.
- duplicates
-
SERVER-17536 Allow multiple "text" indices on a collection
- Backlog