In solrconfig.xml, change the xsltCacheLifetimeSeconds property of the
XSLTResponseWriter to the desired value (this example 6000secs):

<queryResponseWriter name="xslt" class="solr.XSLTResponseWriter">
<int name="xsltCacheLifetimeSeconds">6000</int>
</queryResponseWriter>



On Mon, 2011-11-14 at 15:31 +0100, vrpar...@gmail.com wrote:
> Hello All,
> 
> i am using xslt to transform solr xml response, when made search;getting
> below warning
> 
> WARNING [org.apache.solr.util.xslt.TransformerProvider] The
> TransformerProvider's simplistic XSLT caching mechanism is not appropriate
> for high load scenarios, unless a single XSLT transform is used and
> xsltCacheLifetimeSeconds is set to a sufficiently high value.
> 
> how can i apply effective xslt caching for solr ?
> 
> 
> 
> Thanks,
> Vishal Parekh
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/XSLT-caching-mechanism-tp3506979p3506979.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to