[DOCS-2900] $text wiki should mention that only one text index per collection is allowed Created: 11/Mar/14 Updated: 11/Jan/17 Resolved: 11/Mar/14 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 01112017-cleanup |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | William Cross | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 9 years, 49 weeks, 1 day ago |
| Description |
|
Here's the page: http://docs.mongodb.org/master/reference/operator/query/text/#op._S_text We are currently saying: "A query can specify, at most, one $text expression." We should be mentioning that a collection can only have one text index, a text query doesn't specify a field (so any field indexed will work), and that when we create a text index, we can specify multiple fields, but we cannot create multiple text indices. |
| Comments |
| Comment by Kay Kim (Inactive) [ 11/Mar/14 ] |
|
We already have on the text index page http://docs.mongodb.org/master/core/index-text/ A collection can have at most one text index. |