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 Tue, Dec 18, 2012, at 02:00 PM, Lighton Phiri wrote:
> I am trying to test-drive an XsltUpdateRequestHandler I've set up on
> one of my Solr cores. I am getting an 'HTTP ERROR 404' error and can't
> quite figure out why. I've tried moving my xslt stylesheet to
> different locations but that hasn't helped so far...
> 
> Specifically, issuing the command below results in the error response
> output below.
> 
> curl
> "http://localhost:8983/solr/w5/update/xslt?commit=true&tr=ndltd-xsltUpdateRequestHandler.xsl";
> -H "Content-Type: text/xml; charset=utf-8" --data-binary @oai-file.xml
> 
> 
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
> <title>Error 404 Not Found</title>
> </head>
> <body><h2>HTTP ERROR 404</h2>
> <p>Problem accessing /solr/w5/update/xslt. Reason:
> <pre>    Not Found</pre></p><hr /><i><small>Powered by
> Jetty://</small></i><br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> <br/>
> 
> </body>
> </html>
> 
> My current solr core structure is as follows (w5 is a Solr core)
> 
> w5/
> ├── conf
> │   ├── :
> │   ├── :
> │   ├── schema.xml
> │   ├── solrconfig.xml
> │   ├── :
> │   └── xslt
> │       └── ndltd-xsltUpdateRequestHandler.xsl
> └── data
>     └── index
>         ├── segments.gen
>         └── :
> 
> 
> Lighton Phiri
> http://lightonphiri.org

Reply via email to