Re: IndexWriter creates multiple .cfs files

2009-12-08 Thread Erick Erickson
ezer wrote: > Thanks Mike for your timely suggestion. Somehow readers are not reopened > properly. > > > > > > - Original Message > From: Michael McCandless > To: java-user@lucene.apache.org > Sent: Tue, December 8, 2009 3:31:22 PM > Subject: Re: IndexWrit

Re: IndexWriter creates multiple .cfs files

2009-12-08 Thread Cool The Breezer
Thanks Mike for your timely suggestion. Somehow readers are not reopened properly. - Original Message From: Michael McCandless To: java-user@lucene.apache.org Sent: Tue, December 8, 2009 3:31:22 PM Subject: Re: IndexWriter creates multiple .cfs files IndexWriter takes care of

Re: IndexWriter creates multiple .cfs files

2009-12-08 Thread Michael McCandless
rglen > To: java-user@lucene.apache.org > Sent: Tue, December 8, 2009 12:00:59 PM > Subject: Re: IndexWriter creates multiple .cfs files > > RB, > > That's expected behavior, each .cfs corresponds to all of a > segment's files. You could write your own directory > i

Re: IndexWriter creates multiple .cfs files

2009-12-07 Thread Cool The Breezer
, 2009 12:00:59 PM Subject: Re: IndexWriter creates multiple .cfs files 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 y

Re: IndexWriter creates multiple .cfs files

2009-12-07 Thread Jason Rutherglen
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 Th

IndexWriter creates multiple .cfs files

2009-12-07 Thread Cool The Breezer
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 commit