Skip to content
Browse files

HSEARCH-1268 Fix "Rebuilding the whole index" section in documentation

  • Loading branch information...
1 parent 610f786 commit cf03b71a3361df92fdef27f769552f5df38d3ebc @DavideD DavideD committed with Sanne
Showing with 52 additions and 58 deletions.
  1. +52 −58 hibernate-search-documentation/src/main/docbook/en-US/modules/batchindex.xml
View
110 hibernate-search-documentation/src/main/docbook/en-US/modules/batchindex.xml
@@ -289,63 +289,57 @@ transaction.commit();</programlisting>
</note>
</section>
- <para>Other parameters which affect indexing time and memory consumption
- are:</para>
-
- <itemizedlist>
- <listitem>
- <literal>hibernate.search.[default|&lt;indexname&gt;].exclusive_index_use</literal>
- </listitem>
-
- <listitem>
- <literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.max_buffered_docs</literal>
- </listitem>
-
- <listitem>
- <literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.max_merge_docs</literal>
- </listitem>
-
- <listitem>
- <literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.merge_factor</literal>
- </listitem>
-
- <listitem>
- <literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.merge_min_size</literal>
- </listitem>
-
- <listitem>
- <literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.merge_max_size</literal>
- </listitem>
-
- <listitem>
- <literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.merge_max_optimize_size</literal>
- </listitem>
-
- <listitem>
- <literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.merge_calibrate_by_deletes</literal>
- </listitem>
-
- <listitem>
- <literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.ram_buffer_size</literal>
- </listitem>
-
- <listitem>
- <literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.term_index_interval</literal>
- </listitem>
- </itemizedlist>
-
- <para>Previous versions also had a <literal>max_field_length</literal> but
- this was removed from Lucene, it's possible to obtain a similar effect by
- using a <classname>LimitTokenCountAnalyzer</classname>.</para>
-
- <para>All <literal>.indexwriter</literal> parameters are Lucene specific
- and Hibernate Search is just passing these parameters through - see <xref
- linkend="lucene-indexing-performance"/> for more details.</para>
-
- <para>The <classname>MassIndexer</classname> uses a forward only
- scrollable result to iterate on the primary keys to be loaded, but MySQL's
- JDBC driver will load all values in memory; to avoid this "optimisation"
- set <literal>idFetchSize</literal> to
- <literal>Integer.MIN_VALUE</literal>.</para>
+ <section>
+ <title>Useful parameters for batch indexing</title>
+ <para>Other parameters which affect indexing time and memory consumption
+ are:</para>
+
+ <itemizedlist>
+ <listitem>
+ <para><literal>hibernate.search.[default|&lt;indexname&gt;].exclusive_index_use</literal></para>
+ </listitem>
+ <listitem>
+ <para><literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.max_buffered_docs</literal></para>
+ </listitem>
+ <listitem>
+ <para><literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.max_merge_docs</literal></para>
+ </listitem>
+ <listitem>
+ <para><literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.merge_factor</literal></para>
+ </listitem>
+ <listitem>
+ <para><literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.merge_min_size</literal></para>
+ </listitem>
+ <listitem>
+ <para><literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.merge_max_size</literal></para>
+ </listitem>
+ <listitem>
+ <para><literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.merge_max_optimize_size</literal></para>
+ </listitem>
+ <listitem>
+ <para><literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.merge_calibrate_by_deletes</literal></para>
+ </listitem>
+ <listitem>
+ <para><literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.ram_buffer_size</literal></para>
+ </listitem>
+ <listitem>
+ <para><literal>hibernate.search.[default|&lt;indexname&gt;].indexwriter.term_index_interval</literal></para>
+ </listitem>
+ </itemizedlist>
+
+ <para>Previous versions also had a <literal>max_field_length</literal> but
+ this was removed from Lucene, it's possible to obtain a similar effect by
+ using a <classname>LimitTokenCountAnalyzer</classname>.</para>
+
+ <para>All <literal>.indexwriter</literal> parameters are Lucene specific
+ and Hibernate Search is just passing these parameters through - see <xref
+ linkend="lucene-indexing-performance"/> for more details.</para>
+
+ <para>The <classname>MassIndexer</classname> uses a forward only
+ scrollable result to iterate on the primary keys to be loaded, but MySQL's
+ JDBC driver will load all values in memory; to avoid this "optimisation"
+ set <literal>idFetchSize</literal> to
+ <literal>Integer.MIN_VALUE</literal>.</para>
+ </section>
</section>
</chapter>

0 comments on commit cf03b71

Please sign in to comment.
Something went wrong with that request. Please try again.