Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
2.6.7
-
None
-
None
-
ALL
Description
A collection "test" with the following documents
{name:"green apple"} {name:"red apple"} {name:"banana"}In the shell, running
db.getCollection('test').find({$text:{$search:"apple"}})
or
db.getCollection('test').find({$text:{$search:"banana"}})
will return results as expected
db.getCollection('test').find({$text:{$search:"banana",$language:"none"}})
will also return 1 result as expected
But
db.getCollection('test').find({$text:{$search:"apple",$language:"none"}})
will return NO result