Re: Using properties placeholder ${someProperty} for xml node attribute in solrconfig

2015-12-04 Thread Pushkar Raste
Thanks Erick, I verified that we can use properties placeholders for attributes on a xml node. One last question. I was reading through CommitTracker and looks like setting maxTime for 'autoCommit' or ' autoSoftCommit' will disable commits. Is my understanding right? On 3 December 2015 at 15:40,

Using properties placeholder ${someProperty} for xml node attribute in solrconfig

2015-12-03 Thread Pushkar Raste
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. In short, can I use properties placeholders for attributes for xml node in solrconfig. Follow

Re: Using properties placeholder ${someProperty} for xml node attribute in solrconfig

2015-12-03 Thread Erick Erickson
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