lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: IndexWriter.close() performance issue
Date Sat, 20 Nov 2010 13:44:01 GMT
On Fri, Nov 19, 2010 at 5:41 PM, Mark Kristensson
<mark.kristensson@smartsheet.com> wrote:
> Here's the changes I made to org.apache.lucene.util.StringHelper:
>
>  //public static StringInterner interner = new SimpleStringInterner(1024,8);

As Mike said, the real fix for trunk is to get rid of interning.
But for your version, you could try making the string intern cache larger.

StringHelper.interner = new SimpleStringInterner(300000,8);

-Yonik
http://www.lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message