[sword-devel] clucene indexing time issue

Greg Hellings greg.hellings at gmail.com
Wed Aug 14 10:33:36 MST 2013


And here's the documentation for the method

http://lucenenet.apache.org/docs/2.9.4/html/3b1c494d-9376-8fe5-9582-dd09f22a7584.htm


On Wed, Aug 14, 2013 at 12:20 PM, Jaak Ristioja <jaak at ristioja.ee> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi!
>
> The line was removed in 2011 by commit 3e7c91:
>
>   commit 3e7c91810726ca5632371410f587ee05a3b5364a
>   Author: Gregory Hellings <greg.hellings at gmail.com>
>   Date:   Sun Oct 23 13:17:51 2011 -0500
>
>       Compatibility with CLucene 2.
>
>       Patch adapted from Jonathan Dieter and Deji Akingunola.
>       Supports both CLucene 2 and CLucene 0.
>
> Maybe they can help you.
>
> Blessings,
> Jaak
>
> On 14.08.2013 17:04, Костя Маслюк wrote:
> > Post it here because PocketSword team potentially would be
> > interested too.
> >
> > Some time ago i got strange issue when indexing time in BibleTime
> > Mini increased from 9 minutes to several hours. Investigating this
> > i found that one line been removed from BibleTime code, it have
> > following setup for clucene writer:
> >
> > // Always create a new index: typedef lucene::index::IndexWriter
> > IW; QSharedPointer<IW> writer(new IW(index.toLatin1().constData(),
> > &an, true));
> > writer->setMaxFieldLength(BT_MAX_LUCENE_FIELD_LENGTH);
> > writer->setUseCompoundFile(true); // Merge segments into a single
> > file
> >
> > and following line was removed, when i restored it, index building
> > time returned to 9 minutes on all mobile targets:
> > writer->setMinMergeDocs(1000);
> >
> > Let me know if this removal was related with any bugfix.
> >
> >
> > _______________________________________________ sword-devel mailing
> > list: sword-devel at crosswire.org
> > http://www.crosswire.org/mailman/listinfo/sword-devel Instructions
> > to unsubscribe/change your settings at above page
> >
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.20 (GNU/Linux)
>
> iQgcBAEBAgAGBQJSC7xlAAoJEEqsYmEt1rCO4R4//2IXO2JZEsSyJ1OAbFG5hFaJ
> Jr48Lflatot58+G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q9/X0y8oy+o
> GMObX/+9EMPWmB+/xlY7BopmcQlXENU7PYHUdB6Io1lqj76sIVGiOgtK6O430G8x
> B76DdqyGZoRq9CyZ4EYkS5pT20NSA5XK3VAelik49aA5Dykz+cWVGkxfw4gsZKFv
> OMReI0jO4tCW03lWLkrouItCcmnpEHIAvXawPRrrl47Hg/qPLDNWrN+fzB+VE6Ts
> 0pPehU99YbSwHJgQeuY84G8jrufgPaN+HNG8UlyyucG/zs0BGN/otJO1UCpHjw0O
> JokTg5qe/OgdmY8fgtIpBScklq1mg0sJjmmtJp3ZHtlyjnvYbP5LUeup8aFV8XeJ
> yM3QdiwTrHDngCsrAiwca6POPR4eb8wklcU1MQEeUCZUcmuC7JKr/QoB+60rblS0
> PlmV++kymNp3dXPGOvZU1XRQYwOHK5hyUNv+H5LOAnUsKmCW561zHYflbkhNCX+m
> yWMKMySBIRpE2HQrsgatA7o4PvN2xBsmZWcfzSdc3Eir7Z6nPjEopVkNToe/8vxY
> o95j3dnvygCe1anNiZB5Nuq+hQZChKl3JZmg1OpgfknBxDwwcqhowPINNdVED3hJ
> CkgGHtZ6OU+TWcQJ3vSI
> =j/yB
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20130814/3bca5793/attachment-0001.html>


More information about the sword-devel mailing list