Re: sharing SearchIndexer

2008-09-26 Thread Otis Gospodnetic
ner <[EMAIL PROTECTED]> > To: java-user@lucene.apache.org > Sent: Friday, September 26, 2008 6:49:24 AM > Subject: Re: sharing SearchIndexer > > Ian Lea schrieb: > > Simon > > > > > > There is nothing in lucene to detect that an index has changed and >

Re: sharing SearchIndexer

2008-09-26 Thread Michael Wechner
Ian Lea schrieb: Simon There is nothing in lucene to detect that an index has changed and automagically reopen an IndexReader. You can do the notification from your indexing thread, or every nnn mins, or whatever makes sense for your application. Note that IndexReader.reopen() does nothing if

Re: sharing SearchIndexer

2008-09-26 Thread simon litwan
Ian Lea schrieb: Simon There is nothing in lucene to detect that an index has changed and automagically reopen an IndexReader. You can do the notification from your indexing thread, or every nnn mins, or whatever makes sense for your application. Note that IndexReader.reopen() does nothing if

Re: sharing SearchIndexer

2008-09-26 Thread Ian Lea
Simon There is nothing in lucene to detect that an index has changed and automagically reopen an IndexReader. You can do the notification from your indexing thread, or every nnn mins, or whatever makes sense for your application. Note that IndexReader.reopen() does nothing if the index has not

Re: sharing SearchIndexer

2008-09-26 Thread simon litwan
Mark Miller schrieb: simon litwan wrote: hi all i tried to reuse the IndexSearcher among all of the threads that are doing searches as described in (http://wiki.apache.org/lucene-java/LuceneFAQ#head-48921635adf2c968f7936dc07d51dfb40d638b82) this works fine. but our application does contin

Re: sharing SearchIndexer

2008-09-25 Thread Mark Miller
simon litwan wrote: hi all i tried to reuse the IndexSearcher among all of the threads that are doing searches as described in (http://wiki.apache.org/lucene-java/LuceneFAQ#head-48921635adf2c968f7936dc07d51dfb40d638b82) this works fine. but our application does continuous indexing. so the

sharing SearchIndexer

2008-09-25 Thread simon litwan
hi all i tried to reuse the IndexSearcher among all of the threads that are doing searches as described in (http://wiki.apache.org/lucene-java/LuceneFAQ#head-48921635adf2c968f7936dc07d51dfb40d638b82) this works fine. but our application does continuous indexing. so the index is changing and