XSLTResponseWriter patch and SolrParams (was: changes before release?)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

XSLTResponseWriter patch and SolrParams (was: changes before release?)

Bertrand Delacretaz
On 10/9/06, Chris Hostetter <[hidden email]> wrote:

> ..the one thing about your
> patch in it's current format that I rememebr not being fond of using XML
> node attributes to configure queryResponseWriters...

Ok, makes sense. I have attached a revised version of my patch as
solr-XSLTResponseWriter-20060922.tar.gz  in SOLR-49, the
XSLTResponseWriter is now configured like this:

  <queryResponseWriter
    name="xslt"
    class="org.apache.solr.request.XSLTResponseWriter"
   >
     <int name="xsltCacheLifetimeSeconds">5</int>
   </queryResponseWriter>

And this is processed using NamedList and SolrParams as you suggested.

-Bertrand