Re: Writing - Searching synchronization

2006-09-27 Thread Erick Erickson
Yes. New additions to an index are NOT searchable until the indexSearcher/IndexReader is closed and reopened, just as you are observing. I think of it as the IndexSearcher taking a "snapshot" of the index when it is instantiated and operating on that snapshot exclusively thereafter, regardless of

Writing - Searching synchronization

2006-09-27 Thread Luis Rodrigo Aguado
Hi all, I have a problem with a lucene-based application I am trying to build. The application is mainly search oriented, and the core of the index is built in a batch process before starting the system. In the application initialization an IndexSearcher object is built, to perform all the se