note 118889 added to mongodb.tutorial.library

From: Date: Tue, 23 Feb 2016 15:54:43 +0000
Subject: note 118889 added to mongodb.tutorial.library
Groups: php.notes 
Request: Send a blank email to php-notes+get-205020@lists.php.net to get a copy of this message
Do a text search on the collection with projection $search['$text'] = ['$search' => "foo"]; $options["projection"] = ['score' => ['$meta' => "textScore"]]; $options["sort"] = ["score" => ['$meta' => "textScore"]]; $cursor = $collection->find($search, $options); ---- Server IP: 72.52.91.14 Probable Submitter: 2001:e68:5431:37a9:eddd:7594:f3a9:be63 ---- Manual Page -- http://php.net/manual/en/mongodb.tutorial.library.php Edit -- https://master.php.net/note/edit/118889 Del: integrated -- https://master.php.net/note/delete/118889/integrated Del: useless -- https://master.php.net/note/delete/118889/useless Del: bad code -- https://master.php.net/note/delete/118889/bad+code Del: spam -- https://master.php.net/note/delete/118889/spam Del: non-english -- https://master.php.net/note/delete/118889/non-english Del: in docs -- https://master.php.net/note/delete/118889/in+docs Del: other reasons-- https://master.php.net/note/delete/118889 Reject -- https://master.php.net/note/reject/118889 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#205020) next »