Hi Gora, sure, glad to be of help. If you find any problems with the xslt it would be great if you could notify me.
I remember having problems with empty fields (see SOLR-1790: https://issues.apache.org/jira/browse/SOLR-1790 ). I think my solution was to make sure that the response of the source core does not include any empty fields because it seems not to be possible to handle that in XSLT (at least from what I found out searching the i-net). Chantal On Mon, 2011-10-10 at 16:07 +0200, Gora Mohanty wrote: > On Mon, Oct 10, 2011 at 4:40 PM, Chantal Ackermann > <chantal.ackerm...@btelligent.de> wrote: > [...] > > > (2) response-to-update.xsl (this goes into > > $SOLR_HOME/sourceCore/conf/xslt/): > [...] > > Thanks for sharing that, and will check it out when possible. > > This looks like it would be very useful, as we once rolled our > own half-baked, non-Solr solution for a similar problem (I had > somehow missed XsltResponseWriter back then). Maybe this > should go into contributed code for Solr. > > Regards, > Gora