lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Preventing merging by IndexWriter
Date Tue, 17 Oct 2006 15:46:34 GMT
On 10/17/06, Johan Stuyts <j.stuyts@hippo.nl> wrote:
> So my questions are: is there a way to prevent the IndexWriter from
> merging, forcing it to create a new segment for each indexing batch?

Already done in the Lucene trunk:
http://issues.apache.org/jira/browse/LUCENE-672

Background:
http://www.gossamer-threads.com/lists/lucene/java-dev/39799#39799

> And
> if so, will it still be possible to merge the disk segments when I want
> to?

call optimize()

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

---------------------------------------------------------------------
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