lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Shellman <j...@ikestrel.com>
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?

Thanks,

-joel shellman

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message