svn: /phpdoc/en/trunk/reference/solr/ solrclient/commit.xml solrquery/construct.xml
| From: | Omar Shaban | Date: | Sun, 16 Mar 2014 19:40:36 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/solr/ solrclient/commit.xml solrquery/construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12235@lists.php.net to get a copy of this message | ||
omars Sun, 16 Mar 2014 19:40:36 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=333018
Log:
Solr: fix default value in SolrClient::commit arg expunge deletes + Exception section in
SolrQuery::__construct
Changed paths:
U phpdoc/en/trunk/reference/solr/solrclient/commit.xml
U phpdoc/en/trunk/reference/solr/solrquery/construct.xml
Modified: phpdoc/en/trunk/reference/solr/solrclient/commit.xml
===================================================================
--- phpdoc/en/trunk/reference/solr/solrclient/commit.xml 2014-03-16 18:21:04 UTC (rev 333017)
+++ phpdoc/en/trunk/reference/solr/solrclient/commit.xml 2014-03-16 19:40:36 UTC (rev 333018)
@@ -14,7 +14,7 @@
<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>expungeDeletes</parameter><initializer>true</initializer></methodparam>
+ <methodparam
choice="opt"><type>bool</type><parameter>expungeDeletes</parameter><initializer>false</initializer></methodparam>
</methodsynopsis>
<para>
This method finalizes all add/deletes made to the index.
Modified: phpdoc/en/trunk/reference/solr/solrquery/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/solr/solrquery/construct.xml 2014-03-16 18:21:04 UTC (rev 333017)
+++ phpdoc/en/trunk/reference/solr/solrquery/construct.xml 2014-03-16 19:40:36 UTC (rev 333018)
@@ -41,7 +41,36 @@
None
</para>
</refsect1>
-
+<refsect1 role="errors">
+ &reftitle.errors;
+ <para>
+ Emits <classname>SolrIllegalArgumentException</classname> in case of an invalid
parameter was passed.
+ </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>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>
</refentry>
<!-- Keep this comment at the end of the file