Hi,
Can someone please explain how does IndexSearcher and IndexWriter works in
conjuction. As far as i know after reading all the posts in newgroup, it
seems everything works fine if we have one IndexWriter thread and multiple
IndexSearcher thread. But my doubt here is, looking at IndexSearcher
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:
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
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, not
: 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