Details
-
Bug
-
Resolution: Done
-
Major - P3
-
2.6.0
-
Minor Change
-
ALL
-
Query F (02/01/16), Query 10 (02/22/16), Query 11 (03/14/16)
Description
> db.foo.drop()
|
true
|
> db.createCollection("foo",{capped:true,size:1024*1024}) |
{ "ok" : 1 } |
> db.foo.ensureIndex({a:"text"}) |
> db.foo.insert({a:"world"}) |
> db.foo.find({$text:{$search:"hello"}}) // correct, returns no results |
> db.foo.find({$text:{$search:"hello"}}).addOption(2) // incorrect, returns non-matching results |
{ "_id" : ObjectId("544007b9eec1b9328f503e65"), "a" : "world" } |
Attachments
Issue Links
- is duplicated by
-
SERVER-19781 QueryPlanner::plan() can sometimes build collscans for geonear and text queries
-
- Closed
-
- related to
-
SERVER-17648 Implement matcher for text predicates
-
- Backlog
-