Re: Search shortly after adding a doc

2005-08-08 Thread Erik Hatcher
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

RE: Search shortly after adding a doc

2005-08-05 Thread Mordo, Aviran (EXP N-NANNATEK)
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)

Search shortly after adding a doc

2005-08-04 Thread yahootintin . 11533894
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