RE: best practices for reloading an index for a searcher

2007-12-06 Thread Beyer,Nathan
ailto:[EMAIL PROTECTED] Sent: Thursday, December 06, 2007 12:10 PM To: java-user@lucene.apache.org Subject: Re: best practices for reloading an index for a searcher If by reload you mean closing and opening the reader, then yes. You need to do this in order to see the changes since the *last* tim

Re: best practices for reloading an index for a searcher

2007-12-06 Thread Erick Erickson
If by reload you mean closing and opening the reader, then yes. You need to do this in order to see the changes since the *last* time you opened the reader. Think of it as the reader taking a snapshot of the index and using that for its lifetime. Be aware that opening a reader (and running the fi

best practices for reloading an index for a searcher

2007-12-06 Thread Beyer,Nathan
I did some searching on the lucene site and wiki, but didn't quite find what I was looking for in regards to a basic approach to how and when to reload index data. I have a long running process that will be continually indexing and concurrently searching the same index and I'm looking for a basic a