Erik Hatcher schrieb:
However, it isn't currently suitable for wiring to SolrJS - Matthias and
I will have to resolve that.
Just noticed that VelocityResponeWriter in trunk is very reduced to my last
patch from 2008-07-25.
Moving the templates into a jar shouldn't be a problem. Setting the contentType
is still possible, the methods{} wrapper may be moved into the template itself.
The crucial difference is the missing translation into a solrj response by
specifying the vl.response parameter. This was intended to make template
creation more handy, cause the queryResponse is much nicer to navigate.
If this conversion is to specific and shouldn't be in VelocityResponseWriter,
would it be a problem to create a subclass inside contrib/javascript?
matthias
Erik