: Opening a new IndexReader is trivial. But then how do I set the
: IndexSearcher's reader to the new one without getting a new instance?
just reopen a new IndexSearcher ... IndexSearchers are extremely light
weight and cheap, the meat they have is the IndexReader itself, so there
wouldn't be
uther [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 10, 2007 10:33 PM
To: java-user@lucene.apache.org
Subject: How to re-open the IndexSearcher's IndexReader
Hi,
How can I re-use an IndexSearcher and keep track of changes to the
index?
I am dealing with Index Directories of several GB. Openin
to re-open the IndexSearcher's IndexReader
Hi,
How can I re-use an IndexSearcher and keep track of changes to the
index?
I am dealing with Index Directories of several GB. Opening and
IndexSearcher is very expensive and can take several seconds. Therefore
I am caching the IndexSearcher f
Hi,
How can I re-use an IndexSearcher and keep track of changes to the
index?
I am dealing with Index Directories of several GB. Opening and
IndexSearcher is very expensive and can take several seconds. Therefore
I am caching the IndexSearcher for re-use.
Our indexes are frequently updated.