lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Hafner <hafnersi...@gmail.com>
Subject Re: lucene-core-3.3.0 not optimizing
Date Fri, 02 Dec 2011 11:15:34 GMT

On 02.12.2011, at 04:54, KARTHIK SHIVAKUMAR wrote:

> Hi
> 
> Spec
> O/s win os 7
> Jdk : 1.6.0_29
> Lucene  lucene-core-3.3.0
> 
> Finally after Indexing successfully ,Why this Code does not optimize (
> sample code )
> 
>            INDEX_WRITER.optimize(100);
>            INDEX_WRITER.commit();
>            INDEX_WRITER.close();

Because you shouldn't use it [1] in general. :-)

Simon

[1‘ https://issues.apache.org/jira/browse/LUCENE-3454
---------------------------------------------------------------------
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