I need some clarification on the cache size parameters in the solrconfig. Suppose I'm using these values: <filterCache class="solr.LRUCache" size="50000" initialSize="50000" autowarmCount="100"/> <queryResultCache class="solr.LRUCache" size="40000" initialSize="40000" autowarmCount="100"/> <documentCache class="solr.LRUCache" size="30000" initialSize="30000" autowarmCount="0"/>
What does size="50000" mean... Is this 50000 bytes, kilobytes, megabytes... or is it the number of documents that can be cached? In other words, how do I calculate the memory usage based on the size setting? If the size is "1000", how much physical memory will this cache occupy Also, suppose I see the following in the stats section for queryResultCache: lookups : 24616 hits : 21102 hitratio : 0.85 inserts : 8456 evictions : 0 size : 3510 cumulative_lookups : 24616 cumulative_hits : 21102 cumulative_hitratio : 0.85 cumulative_inserts : 8456 cumulative_evictions : 0 Based on this, what would be the recommended setting for LRU Cache maxSize=??? -Thx