Hmmm, never tried it. You can check by looking at the admin UI>>plugins/stats>>cahces>>filterCache with a property defined like you want.
And assuming that works, yes. the filterCache is turned off if its size is zero. Another option might be to add {!cache=false} to your fq clauses on the client in this case if that is possible/convenient. Best, Erick On Thu, Dec 3, 2015 at 11:19 AM, Pushkar Raste <pushkar.ra...@gmail.com> wrote: > Hi, > I want to make turning filter cache on/off configurable (I really have a > use case to turn off filter cache), can I use properties placeholders like > ${someProperty} in the filter cache config. i.e. > > <filterCache class="solr.FastLRUCache" > size="${solr.filterCacheSize:4096}" > initialSize=""${solr.filterCacheInitialSize:2048}" > autowarmCount="0"/> > > In short, can I use properties placeholders for attributes for xml node in > solrconfig. Follow up question is, provided I can do that, to turn off > filterCache can I simply set values 0 (zero) for 'solr.filterCacheSize' and > 'solr.filterCacheInitialSize'