Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2900

$text wiki should mention that only one text index per collection is allowed

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            william.cross William Cross
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              10 years, 8 weeks ago