<div dir="ltr">And here&#39;s the documentation for the method<div><br></div><div><a href="http://lucenenet.apache.org/docs/2.9.4/html/3b1c494d-9376-8fe5-9582-dd09f22a7584.htm">http://lucenenet.apache.org/docs/2.9.4/html/3b1c494d-9376-8fe5-9582-dd09f22a7584.htm</a><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 12:20 PM, Jaak Ristioja <span dir="ltr">&lt;<a href="mailto:jaak@ristioja.ee" target="_blank">jaak@ristioja.ee</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi!<br>
<br>
The line was removed in 2011 by commit 3e7c91:<br>
<br>
  commit 3e7c91810726ca5632371410f587ee05a3b5364a<br>
  Author: Gregory Hellings &lt;<a href="mailto:greg.hellings@gmail.com">greg.hellings@gmail.com</a>&gt;<br>
  Date:   Sun Oct 23 13:17:51 2011 -0500<br>
<br>
      Compatibility with CLucene 2.<br>
<br>
      Patch adapted from Jonathan Dieter and Deji Akingunola.<br>
      Supports both CLucene 2 and CLucene 0.<br>
<br>
Maybe they can help you.<br>
<br>
Blessings,<br>
Jaak<br>
<div><div class="h5"><br>
On 14.08.2013 17:04, Костя Маслюк wrote:<br>
&gt; Post it here because PocketSword team potentially would be<br>
&gt; interested too.<br>
&gt;<br>
&gt; Some time ago i got strange issue when indexing time in BibleTime<br>
&gt; Mini increased from 9 minutes to several hours. Investigating this<br>
&gt; i found that one line been removed from BibleTime code, it have<br>
&gt; following setup for clucene writer:<br>
&gt;<br>
&gt; // Always create a new index: typedef lucene::index::IndexWriter<br>
&gt; IW; QSharedPointer&lt;IW&gt; writer(new IW(index.toLatin1().constData(),<br>
&gt; &amp;an, true));<br>
&gt; writer-&gt;setMaxFieldLength(BT_MAX_LUCENE_FIELD_LENGTH);<br>
&gt; writer-&gt;setUseCompoundFile(true); // Merge segments into a single<br>
&gt; file<br>
&gt;<br>
&gt; and following line was removed, when i restored it, index building<br>
&gt; time returned to 9 minutes on all mobile targets:<br>
&gt; writer-&gt;setMinMergeDocs(1000);<br>
&gt;<br>
&gt; Let me know if this removal was related with any bugfix.<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________ sword-devel mailing<br>
&gt; list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
&gt; <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a> Instructions<br>
&gt; to unsubscribe/change your settings at above page<br>
&gt;<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.20 (GNU/Linux)<br>
<br>
iQgcBAEBAgAGBQJSC7xlAAoJEEqsYmEt1rCO4R4//2IXO2JZEsSyJ1OAbFG5hFaJ<br>
Jr48Lflatot58+GLnv+3dIg4bcZl9ZsxPoAHLMJesCcL88It+yZaxspXKRTZQ32I<br>
NNYi35KtrPnYxgEKd4rdcLrP9PV5QOO+5nACfLNJ+sVtqgL9nEWzWtN0ve6hfQRg<br>
OdUf0V8gwpvnapwIv5gHRN9lPcDM+PjgFIWRafvUe4zmfO8LppiuiSpoUGZiJuou<br>
tB2QM6anzPvno/4trlErZ5xie5BJxtQqjShpSbCS4VloTNlenDmYw0tGf7PL/DgT<br>
laOMJ99hqdsY3klnJm7afGE9qGsvS7vT4fU7Sn8u5VrJybHTUVYqzGX/+ubAta0p<br>
1xIZ+MK8rTxLpbsZzLJXU0oEfHiRQCqP0x7xZGWPmIlYKq50PtldThXEWe/QIEQJ<br>
TMfKdJoaa6LX8otkyoMudG5fifO3E9EtRp65k55vJuFC952ldla3cogH6SrS0Gcr<br>
pD1vJHAus9/yD1xF/TYqiis6YyYx/yVjmh6PAFCu42QPGpBv0v2P//Q48E9ytw+s<br>
UBUPZncxLoodjMVh6+ULxrUMuAv2pqXCb840xbw8XVBkrEGGyICPw/mhVq7P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zSdc3Eir7Z6nPjEopVkNToe/8vxY<br>
o95j3dnvygCe1anNiZB5Nuq+hQZChKl3JZmg1OpgfknBxDwwcqhowPINNdVED3hJ<br>
CkgGHtZ6OU+TWcQJ3vSI<br>
=j/yB<br>
-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page</blockquote></div><br></div>