Re: IndexSearcher and IndexWriter in conjuction

2006-03-13 Thread Chris Hostetter
: The trick is that once segment files are written, they are never : modified (except for the "segments" file itself). New documents are : added to new segments, not existing segments. When segments are : merged, a new bigger segment is created. This way, the view of the : index for a specific

Re: IndexSearcher and IndexWriter in conjuction

2006-03-13 Thread Yonik Seeley
On 3/13/06, Nikhil Goel <[EMAIL PROTECTED]> wrote: > Can someone please explain how does IndexSearcher and IndexWriter works in > conjuction. The trick is that once segment files are written, they are never modified (except for the "segments" file itself). New documents are added to new segments,

Re: IndexSearcher and IndexWriter in conjuction

2006-03-13 Thread Nikhil Goel
Hi Patrick, thanks for writing back but my question is:- do we really need to write something new to achieve what I want to achieve. By going thru Lucene Tutorials, i dont think there is a need to do such a thing:- http://blog.danbartels.com/archive/2004/09/09/186.aspx Indexing and searching are

Re: IndexSearcher and IndexWriter in conjuction

2006-03-13 Thread Patrick Kimber
Hi Nikhil We are using the index accessor contribution. For more information see: http://www.nabble.com/Fwd%3A-Contribution%3A-LuceneIndexAccessor-t17416.html#a47049 This should help you to co-ordinate the IndexSearcher and IndexWriter. Patrick On 13/03/06, Nikhil Goel <[EMAIL PROTECTED]> wrote: