You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Patrick O'Lone <po...@townnews.com> on 2013/12/19 21:46:44 UTC

LFU cache and autowarming

If I was to use the LFU cache instead of FastLRU on the filter cache, if
I enable auto-warming on that cache type - does it warm the most
frequently used fq on the filter cache? Thanks for any info!

-- 
Patrick O'Lone
Director of Software Development
TownNews.com

E-mail ... polone@townnews.com
Phone .... 309-743-0809
Fax ...... 309-743-0830

Re: LFU cache and autowarming

Posted by Patrick O'Lone <po...@townnews.com>.
Well, I haven't tested it - if it's not ready yet I will probably avoid
for now.

> On 12/19/2013 1:46 PM, Patrick O'Lone wrote:
>> If I was to use the LFU cache instead of FastLRU on the filter cache, if
>> I enable auto-warming on that cache type - does it warm the most
>> frequently used fq on the filter cache? Thanks for any info!
> 
> I wrote that cache.  It's a really really crappy implementation, I would
> only expect it to work well if it's the cache is very very small.
> 
> I do have a replacement implementation that's just about ready, but I've
> not been able to find 'round tuits to work on getting it polished and
> committed.
> 
> https://issues.apache.org/jira/browse/SOLR-2906
> https://issues.apache.org/jira/browse/SOLR-3393
> 
> Thanks,
> Shawn
> 
> 


-- 
Patrick O'Lone
Director of Software Development
TownNews.com

E-mail ... polone@townnews.com
Phone .... 309-743-0809
Fax ...... 309-743-0830

Re: LFU cache and autowarming

Posted by Shawn Heisey <so...@elyograg.org>.
On 12/19/2013 1:46 PM, Patrick O'Lone wrote:
> If I was to use the LFU cache instead of FastLRU on the filter cache, if
> I enable auto-warming on that cache type - does it warm the most
> frequently used fq on the filter cache? Thanks for any info!

I wrote that cache.  It's a really really crappy implementation, I would
only expect it to work well if it's the cache is very very small.

I do have a replacement implementation that's just about ready, but I've
not been able to find 'round tuits to work on getting it polished and
committed.

https://issues.apache.org/jira/browse/SOLR-2906
https://issues.apache.org/jira/browse/SOLR-3393

Thanks,
Shawn