lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Shellman <>
Subject IndexSearcher usage and caching?
Date Mon, 12 Jul 2004 14:21:38 GMT
I'm working on a document management system using lucene to search 
through all the documents.

This means that I'll be adding/updating/deleting documents at the same 
time searches are going on.

I thought to create an IndexSearcher and reuse it throughout, but that 
doesn't seem to work. If I do a search, then add a document, and do 
another search with the same IndexSearcher, it won't find the newly 
added document.

I'd rather not have to create a new IndexSearcher for every query... do 
I have to?


-joel shellman

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message