Remove index restriction on $or clauses for $text searches

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Right now, the docs say that $text searches have the following restriction:

      "To use a $text query in an $or expression, all clauses in the $or array must be indexed."

      To get around this restriction, you have to do two separate queries and merge them together. This complicates things unnecessarily. Why is this restriction there? I propose it be removed.

              Assignee:
              Unassigned
              Reporter:
              Billy Tetrud
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: