mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Solr: fix default value in SolrClient::commit arg expunge deletes + Exception section in SolrQuery::__construct
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333018 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0b9cdcc360
commit
295b2c2629
2 changed files with 31 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue