Re: XsltUpdateRequestHandler - HTTP ERROR 404

2012-12-18 Thread Lighton Phiri
Finally got this to work --thank you Upayavira. Turns out the issue was as a result of a syntax error in my stylesheet --I had instread of :( I didn't notice the xsltproc compilation errors before because it processed the valid styles and printed out the errors at the beginning of output. compi

Re: XsltUpdateRequestHandler - HTTP ERROR 404

2012-12-18 Thread Lighton Phiri
I finally understand what you meant and called UpdateRequestHandler as shown below. curl "http://localhost:8983/solr/w5/update?commit=true&tr=x.xsl However, I am now getting an error '500 - Unable to initialize Templates' error. Part of error stack is below. I am not quite familiar with Solr erro

Re: XsltUpdateRequestHandler - HTTP ERROR 404

2012-12-18 Thread Lighton Phiri
> Are you using 4.0? In 4.0 it has been merged into a single Sorry, forgot to specify Solr version --I am working with 4.0 >As I understand it, if you post XML tohttp://localhost:8983/solr/update and >provide a tr parameter, it will do > the same thing as the XsltUpdateRequestHandler did. Still

Re: XsltUpdateRequestHandler - HTTP ERROR 404

2012-12-18 Thread Upayavira
Yay, someone actually using it... Are you using 4.0? In 4.0 it has been merged into a single UpdateRequestHandler now. As I understand it, if you post XML to http://localhost:8983/solr/update and provide a tr parameter, it will do the same thing as the XsltUpdateRequestHandler did. Upayavira On