note 118888 added to mongodb.tutorial.library

From: Date: Tue, 23 Feb 2016 15:53:56 +0000
Subject: note 118888 added to mongodb.tutorial.library
Groups: php.notes 
Request: Send a blank email to php-notes+get-205019@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/118888 Del: integrated -- https://master.php.net/note/delete/118888/integrated Del: useless -- https://master.php.net/note/delete/118888/useless Del: bad code -- https://master.php.net/note/delete/118888/bad+code Del: spam -- https://master.php.net/note/delete/118888/spam Del: non-english -- https://master.php.net/note/delete/118888/non-english Del: in docs -- https://master.php.net/note/delete/118888/in+docs Del: other reasons-- https://master.php.net/note/delete/118888 Reject -- https://master.php.net/note/reject/118888 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#205019) next »