Hi Anuj,

You can definitely change it. It will consume more heap memory
depending on the number of docs and hits.
Also, please note that org.apache.solr.search.LRUCache is deprecated
and was removed in Solr 9.0 in favor of CaffeineCache
(https://solr.apache.org/docs/8_11_1/solr-core/deprecated-list.html)

Regards,

Patryk

On Wed, Aug 6, 2025 at 12:38 PM Anuj Bhargava <anujb...@gmail.com> wrote:
>
> The current solrconfig.xml has the following entries -
>
>
>
> *<queryResultCache size="512" initialSize="512"
> autowarmCount="0"/><filterCache size="512" initialSize="512"
> autowarmCount="0"/><documentCache size="512" initialSize="512"
> autowarmCount="0"/>*
>
> Can we change these, for large and high-frequency queries, to
>
>
>
>
>
>
>
>
>
>
>
>
>
> *<queryResultCache class="solr.LRUCache"                  size="1000"
>             initialSize="1000"
> autowarmCount="200"/><filterCache class="solr.FastLRUCache"
>  size="4000"             initialSize="4000"
>  autowarmCount="500"/><documentCache size="1024"
>  initialSize="1024"               autowarmCount="0" />*

Reply via email to