note 97800 deleted from solr.examples by danbrown
| From: | danbrown@php.net | Date: | Sun, 09 May 2010 12:32:37 +0000 |
| Subject: | note 97800 deleted from solr.examples by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-169087@lists.php.net to get a copy of this message | ||
Note Submitter: yq
----
The example codes seem to have left out a call to commit() , which is necessary for documents to be
properly added to Solr.
$updateResponse = $client->addDocument($doc);
$client->commit();