John - a bug with code is best. No gods here. Otis
----- Original Message ---- From: John Wang <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Friday, March 9, 2007 2:22:35 AM Subject: FieldCache: flush cache explicitly I think the api should allow for explicitly flush the fieldcache. I have a setup where new readers are being loaded very some period of time. I don't want to rely on Java WeakHashMap to free the cache, I want to be able to do it in a deterministic way. It would be great if this can be added to Lucene, I can create a bug if the Lucene gods agree to it :) Thanks -John --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]