On Mon, Feb 18, 2008 at 6:08 PM, [EMAIL PROTECTED] wrote:
We have the same situation and use an atomic counter. Basically, we have
a SearcherHolder class and a SearcherManager class. The SearcherHolder
holds the searcher and the number of threads referencing the searcher.
When the
to safely periodically reopen the IndexReader?
Hi, all
I've got a question here needing your help:
For my index, I opened one IndexWriter (autocommit mode) and one
IndexSearcher on it;
I have quite a lot of threads here concurrently writing new documents and
doing search in index
respond to
java-user@lucene.apache.org
To
java-user@lucene.apache.org
cc
Subject
how to safely periodically reopen the IndexReader?
Hi, all
I've got a question here needing your help:
For my index, I opened one IndexWriter (autocommit mode) and one
IndexSearcher on it;
I have quite a lot
Hi, all
I've got a question here needing your help:
For my index, I opened one IndexWriter (autocommit mode) and one
IndexSearcher on it;
I have quite a lot of threads here concurrently writing new documents and
doing search in index.
the IndexWriter is flushed periodically.
as I want the
-
From: ZaeX [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 16, 2008 2:32 AM
To: java-user@lucene.apache.org
Subject: how to safely periodically reopen the IndexReader?
Hi, all
I've got a question here needing your help:
For my index, I opened one IndexWriter (autocommit mode) and one