My guess would be b/c best practice is usually to only have one Reader/ Searcher per Directory, but I don't know if that is the real reason. Most discussions/testing I have seen indicate a single Reader/Searcher performs best.

-Grant

On Jan 1, 2008, at 11:57 AM, Timo Nentwig wrote:

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------
Grant Ingersoll
http://lucene.grantingersoll.com
http://www.lucenebootcamp.com

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to