Hi,

  I'm trying using CSV (Solr 1.4, 03/29) for indexing following wiki
(http://wiki.apache.org/solr/UpdateCSV). I've updated the
solrconfig.xml to have this lines,

    <requestDispatcher handleSelect="true" >
        <requestParsers enableRemoteStreaming="true"
multipartUploadLimitInKB="20480" />
        ...
    </requestDispatcher>

   <requestHandler name="/update/csv" class="solr.CSVRequestHandler"
startup="lazy" />

When I try to upload the csv,

  curl 
'http://localhost:8080/solr/20090414_1/update/csv?commit=true&separator=%09&escape=%5c&stream.file=/Users/opal/temp/afterchat/data/csv/1239759267339.csv'

I get following response,

    </head><body><h1>HTTP Status 400 - Remote Streaming is
disabled.</h1><HR size="1" noshade="noshade"><p><b>type</b> Status
report</p><p><b>message</b> <u>Remote Streaming is
disabled.</u></p><p><b>description</b> <u>The request sent by the
client was syntactically incorrect (Remote Streaming is
disabled.).</u></p><HR size="1" noshade="noshade"><h3>Apache
Tomcat/6.0.18</h3></body></html>

Why is it complaining about the remote streaming if it's already
enabled? Is there anything I'm missing?

Thanks,
-vivek

Reply via email to