Provide covering behavior for $text queries on compound text indexes

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.6.0-rc0
    • Affects Version/s: None
    • Component/s: Querying, Text Search
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > db.foo.insert({a:"hello world",b:42})
      Insert WriteResult({ "ok" : 1, "n" : 1 })
      > db.foo.ensureIndex({a:"text",b:1})
      > db.foo.find({$text:{$search:"hello"},b:42},{_id:0,b:42}).explain().nscannedObjects
      1 // should be 0, since this query can be covered
      

            Assignee:
            hari.khalsa@10gen.com
            Reporter:
            J Rassi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: