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
You can try working with two indexes one for all of today's messages
which will be pretty small, and another for past messages. Then once a
day merge the small index to the big one and start fresh. This way you
need only to open an IndexReader for the small index while the big one
does not change.