lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Solr Cache
Date Wed, 23 Aug 2006 08:21:50 GMT

: It looks like Solr does not use a simple cached queryfilter as a query
: cache. Why is this? Is a cache queryfilter not efficient enough? Is this
: alternate method just so you can easily load the cache from an old
: Searcher to a new Searcher? Any info appreciated.

This would probably be better addressed on the solr-user mailing list --
please post any followup question there.

I'll through out some high level answers though in case any one else is

 * there's nothign to stop a solr request handler from using
   QueryFilter's if they want (i have and do)
 * Solr has several types of caches for different things
 * the "filterCache" has the most direct conceptual mapping to how a
   QueryFilter and CachedWrapperFilter work.  The big benefits it has are:
    - the DocSet API allows for more memory efficient representations of
      small sets of documents then just a BitSet
    - it can be configured with a size and replacement strategy
      (CachedWrapperFilter is more for things that can live "forever"
      relative the IndexReader)


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

View raw message