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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 49 weeks, 1 day ago