note 111890 added to mongodb.command

From: Date: Tue, 09 Apr 2013 11:13:42 +0000
Subject: note 111890 added to mongodb.command
Groups: php.notes 
Request: Send a blank email to php-notes+get-194404@lists.php.net to get a copy of this message
Command of Mongo 2.4 Text Search feature. <?php $result = $db->command( array( '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 ) ) ); ---- Server IP: 69.147.83.199 Probable Submitter: 217.125.39.11 ---- Manual Page -- http://php.net/manual/en/mongodb.command.php Edit -- https://master.php.net/note/edit/111890 Del: integrated -- https://master.php.net/note/delete/111890/integrated Del: useless -- https://master.php.net/note/delete/111890/useless Del: bad code -- https://master.php.net/note/delete/111890/bad+code Del: spam -- https://master.php.net/note/delete/111890/spam Del: non-english -- https://master.php.net/note/delete/111890/non-english Del: in docs -- https://master.php.net/note/delete/111890/in+docs Del: other reasons-- https://master.php.net/note/delete/111890 Reject -- https://master.php.net/note/reject/111890 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#194404) next »