[prev in list] [next in list] [prev in thread] [next in thread]
List: lucene-user
Subject: Re: new segment for each document
From: Doug Cutting <cutting () apache ! org>
Date: 2005-02-10 22:07:00
Message-ID: 420BDB04.5030607 () apache ! org
[Download RAW message or body]
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
overhead.
Doug
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic