lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timo Nentwig <luc...@nitwit.de>
Subject CachingWrapperFilter: why cache per IndexReader?
Date Tue, 01 Jan 2008 16:57:49 GMT
Hi!

Is there are particular reason why CachingWrapperFilter caches per IndexReader 
and not per IndexReader.directory()? If there are multiple 
IndexSearcher/IndexReader instances (and only one Directory) cache will be 
built and held in memory redundantly. I don't see any sense in doing so (?).

Thanks for hints...
Timo

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


Mime
View raw message