Its been a while since I've thought about this sort of thing, but it
looks like your cache is way too small and things get evicted before
being used. How many uniques are you faceting on? 512 is the number of
cache entries, not the size in kb/mb.
Try raising it - perhaps a lot ;) But consider that you have to have the
RAM to accommodate as well ...
What version of Solr are you using?
--
- Mark
http://www.lucidimagination.com
Manepalli, Kalyan wrote:
Hi,
I am seeing an issue with the filtercache setting on my solr app
which is causing slower faceting.
Here is the configuration.
<filterCache class="solr.LRUCache" size="512" initialSize="512"
autowarmCount="256"/>
Statistics:
description: LRU Cache(maxSize=512, initialSize=512, autowarmCount=256,
regenerator=org.apache.solr.search.solrindexsearche...@8d41f2)
stats: lookups : 979692
hits : 6904
hitratio : 0.00
inserts : 973531
evictions : 972978
size : 512
warmupTime : 1479
cumulative_lookups : 61660491
cumulative_hits : 516057
cumulative_hitratio : 0.00
cumulative_inserts : 61170111
cumulative_evictions : 61153787
As we can see the cache hit ratio is almost zero. How do I improve the filter
cache.
Also wanted to know what does the size mean. Is it number of documents or the
memory size (kb/mb)
Any suggestions in this regard will be very helpful.
Thanks,
Kalyan Manepalli