Affects Version/s: 1.0.0BETA3
Fix Version/s: None
Component/s: Mongo, MongoCollection, MongoCursor
Environment:Mongo 2.4 / MacosX / PHP 5.3.14
Since Mongo 2.4, Fulltextsearch is available: http://docs.mongodb.org/manual/core/text-search/
It's possible to use it directly in PHP :
Command of Mongo 2.4 Text Search feature.
$result = $db->command(
'text' => 'bar', //this is the name of the collection where we are searching
'search' => 'hotel', //the string to search
'limit' => 5, //the number of results, by default is 1000
'project' => Array( //the fields to retrieve from db
'title' => 1
Sadly it's not available (or i did not find a way..) to use this great feature of Mongo in MongoODM.