Hello Brian,
Updating an index is very straightforward. Simply open the index writer for
your existing index and add the new documents. The issue is that if you
need to search on the updated index you need to open a new index reader in
order to see the new documents. This is the timeconsuming
making constant updates to your
index, at least this way concurrent searches can take advantage of
eachother.
: Date: Wed, 7 Sep 2005 09:44:05 +0100
: From: [EMAIL PROTECTED]
: Reply-To: java-user@lucene.apache.org
: To: java-user@lucene.apache.org
: Subject: Updating the index and searching
:
:
:
:
:
On Wednesday 07 September 2005 10:44, [EMAIL PROTECTED]
wrote:
> account all changes on the index so I open a new IndexReader. What I am
> finding is that when the index is large the opening of the index takes a
> considerable time with the effect that queries appear to take a long
> time to run.
Hello,
I have an index into which documents get added and updated (by deleting and
adding). When I run queries on the index these have to take into account
all changes on the index so I open a new IndexReader. What I am finding is
that when the index is large the opening of the index takes a c