lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Rutherglen <jason.rutherg...@gmail.com>
Subject Re: IndexWriter creates multiple .cfs files
Date Tue, 08 Dec 2009 06:30:59 GMT
RB,

That's expected behavior, each .cfs corresponds to all of a
segment's files. You could write your own directory
implementation that underneath writes to a single file. It's
usually good to present what you're trying to accomplish (i.e.
the why).

Jason

On Mon, Dec 7, 2009 at 10:25 PM, Cool The Breezer
<techcool.kumar@yahoo.com> wrote:
> Hello Group,
>                  I am continuously updating an index and at the same time searcher
also searches the index, which resulted in multiple .cfs files for each commit by IndexWriter.
I am not sure whether this is an expected behavior or I need to merge each time after IndexWriter
commits. In between the writer's commit, I reopen the IndexReader but still .cfs files keep
on increasing. I would like to have one .cfs file which can be reopened frequently by reader
and at the same time progressive commit by writer. Is it possible?
>
> - RB
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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