[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pecl-cvs
Subject:    [PECL-CVS] com =?UTF-8?Q?pecl/search=5Fengine/solr=3A=20Fix=20add=20document=20examp?= =?UTF-8?Q?le=
From:       Omar Shaban <omars () php ! net>
Date:       2015-11-30 12:57:51
Message-ID: php-mail-39ee7874716900591af17297de23eda42132611082 () git ! php ! net
[Download RAW message or body]

Commit:    ed5012e07f5a88493d4d567da673a4e72eb34c0b
Author:    Omar Shaban <omars@php.net>         Mon, 30 Nov 2015 14:53:26 +0200
Parents:   b36b4c8a9615808297337c33cd8bca935d695f91
Branches:  master

Link:       http://git.php.net/?p=pecl/search_engine/solr.git;a=commitdiff;h=ed5012e07f5a88493d4d567da673a4e72eb34c0b


Log:
Fix add document example

Changed paths:
  M  examples/solrclient_002_adddocument_02.php


Diff:
diff --git a/examples/solrclient_002_adddocument_02.php \
b/examples/solrclient_002_adddocument_02.php index 995bb49..da0202d 100644
--- a/examples/solrclient_002_adddocument_02.php
+++ b/examples/solrclient_002_adddocument_02.php
@@ -20,6 +20,6 @@ $doc->addField('cat', 'Software');
 $doc->addField('cat', 'Lucene');
 
 // No need to call commit() because $commitWithin is passed, so Solr Server will \
                auto commit within 10 seconds
-$updateResponse = $client->addDocument($doc,false,1000);
+$updateResponse = $client->addDocument($doc, false, 10000);
 
 print_r($updateResponse->getResponse());


--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic