[SERVER-12354] Provide covering behavior for $text queries on compound text indexes Created: 13/Jan/14  Updated: 11/Jul/16  Resolved: 13/Feb/14

Status: Closed
Project: Core Server
Component/s: Querying, Text Search
Affects Version/s: None
Fix Version/s: 2.6.0-rc0

Type: Improvement Priority: Major - P3
Reporter: J Rassi Assignee: hari.khalsa@10gen.com
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to DOCS-2689 pending Text Search features Closed
Participants:

 Description   

> 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



 Comments   
Comment by Githook User [ 13/Feb/14 ]

Author:

{u'username': u'hkhalsa', u'name': u'Hari Khalsa', u'email': u'hkhalsa@10gen.com'}

Message: SERVER-12354 reenable tests that expect covered queries in fts
Branch: master
https://github.com/mongodb/mongo/commit/4d724d2b7a07a7353698917da3ce870507264198

Comment by Githook User [ 13/Feb/14 ]

Author:

{u'username': u'hkhalsa', u'name': u'Hari Khalsa', u'email': u'hkhalsa@10gen.com'}

Message: SERVER-12354 SERVER-12144 plan compound text correctly
Branch: master
https://github.com/mongodb/mongo/commit/abc8fd203e7f3e031bc991e27cf36128e9f5792a

Generated at Thu Feb 08 03:28:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.