Re: Refreshing IndexReaders for our desktop searching app

2008-05-28 Thread Mark Miller
If you are using a more recent version of Lucene you might check out https://issues.apache.org/jira/browse/LUCENE-1026 and try the WarmingIndexAccessor. Even if you don't use it, it will serve as a decent example. Ian Lea wrote: Hi I think that you will need to close your reader objects.

Re: Refreshing IndexReaders for our desktop searching app

2008-05-28 Thread Ian Lea
Hi I think that you will need to close your reader objects. Hanging on to them may prevent files from being deleted and you are likely to hit memory or open file limitations. We generally use a low tech approach: save reference to old reader/searcher create new one and give that out to those

Refreshing IndexReaders for our desktop searching app

2008-05-28 Thread Christian Reuschling
Hello out there, We have implemented some open source desktop searching app based on Lucene http://sourceforge.net/projects/dynaq Development always goes further, and currently we make experiments with the file-lock based writer (/reader) synchronization capabilities of Lucene, in order to waste

Refreshing IndexReaders for our desktop searching app

2008-05-28 Thread Christian Reuschling
Hello out there, We have implemented some open source desktop searching app based on Lucene http://sourceforge.net/projects/dynaq Development always goes further, and currently we make experiments with the file-lock based writer (/reader) synchronization capabilities of Lucene, in order to waste

Refreshing IndexReaders for our desktop searching app

2008-05-27 Thread Christian Reuschling
Hello out there, We have implemented some open source desktop searching app based on Lucene http://sourceforge.net/projects/dynaq Development always goes further, and currently we make experiments with the file-lock based writer (/reader) synchronization capabilities of Lucene, in order to waste