svn: /phpdoc/en/trunk/reference/solr/solrclient/ commit.xml

From: Date: Sun, 16 Mar 2014 21:56:01 +0000
Subject: svn: /phpdoc/en/trunk/reference/solr/solrclient/ commit.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-12237@lists.php.net to get a copy of this message
omars Sun, 16 Mar 2014 21:56:01 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=333020 Log: Fix SolrClient::commit + added changelog Changed paths: U phpdoc/en/trunk/reference/solr/solrclient/commit.xml Modified: phpdoc/en/trunk/reference/solr/solrclient/commit.xml =================================================================== --- phpdoc/en/trunk/reference/solr/solrclient/commit.xml 2014-03-16 20:24:18 UTC (rev 333019) +++ phpdoc/en/trunk/reference/solr/solrclient/commit.xml 2014-03-16 21:56:01 UTC (rev 333020) @@ -13,7 +13,7 @@ <modifier>public</modifier> <type>SolrUpdateResponse</type><methodname>SolrClient::commit</methodname> <methodparam choice="opt"><type>int</type><parameter>maxSegments</parameter><initializer>0</initializer></methodparam> <methodparam choice="opt"><type>bool</type><parameter>softCommit</parameter><initializer>false</initializer></methodparam> - <methodparam choice="opt"><type>bool</type><parameter>waitFlush</parameter><initializer>true</initializer></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>waitSearcher</parameter><initializer>true</initializer></methodparam> <methodparam choice="opt"><type>bool</type><parameter>expungeDeletes</parameter><initializer>false</initializer></methodparam> </methodsynopsis> <para> @@ -53,10 +53,10 @@ </listitem> </varlistentry> <varlistentry> - <term><parameter>waitFlush</parameter></term> + <term><parameter>waitSearcher</parameter></term> <listitem> <para> - Block until index changes are flushed to disk. + block until a new searcher is opened and registered as the main query searcher, making the changes visible. </para> </listitem> </varlistentry> @@ -78,6 +78,38 @@ Returns a SolrUpdateResponse object on success or throws a SolrClientException on failure. </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>0.9.2</entry> + <entry> + Signature: SolrClient::commit ([ int $maxSegments = 1 [, bool $waitFlush = true [, bool $waitSearcher = true ]]] ). + $waitFlush: Block until index changes are flushed to disk. + </entry> + </row> + + <row> + <entry>2.0.0</entry> + <entry> + If <parameter>q</parameter> was invalid, then an + <classname>SolrIllegalArgumentException</classname> is now thrown. Previously an error was emitted. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> <refsect1 role="notes"> &reftitle.notes; <warning>

« previous php.doc.cvs (#12237) next »