XSLT caching mechanism
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.
Re: XSLT caching mechanism
Set the cache lifetime high, like it says. Questions - why use the XSLT response writer? What are you transforming the response into and digesting it with? Erik On Nov 14, 2011, at 09:31 , 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.
Re: XSLT caching mechanism
In solrconfig.xml, change the xsltCacheLifetimeSeconds property of the XSLTResponseWriter to the desired value (this example 6000secs): 6000 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.