If you want to match a single document against a Query rapidly, try
out the MemoryIndex as part of the contrib/memory codebase in
Subversion.
Erik
On Aug 4, 2005, at 8:14 PM, [EMAIL PROTECTED] wrote:
i want to use lucene to search shortly (within a second) after
adding a document.
c
hange.
HTH
Aviran
http://www.aviransplace.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, August 04, 2005 8:15 PM
To: java-user@lucene.apache.org
Subject: Search shortly after adding a doc
i want to use lucene to search shortly (within a second)
i want to use lucene to search shortly (within a second) after adding a
document.
closing a writer to ensure the new document is written and then opening an
index reader seems to be too slow on large indexes.
how do other people
handle this?
(i know this can be solved with a database but i'd