lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: new segment for each document
Date Thu, 10 Feb 2005 22:07:00 GMT
Daniel Naber wrote:
> On Thursday 10 February 2005 22:27, Ravi wrote:
>> I tried setting the minMergeFactor on the writer to one. But
>>it did not work.
> I think there's an off-by-one bug so two is the smallest value that works 
> as expected.

You can simply create a new IndexWriter for each add and then close it. 
  IndexWriter is pretty lightweight, so this shouldn't have too much 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message