You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by vivek sar <vi...@gmail.com> on 2009/04/15 19:04:57 UTC
Using CSV for indexing ... Remote Streaming disabled
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
Re: Using CSV for indexing ... Remote Streaming disabled
Posted by Otis Gospodnetic <ot...@yahoo.com>.
Hi,
Are you absolutely sure you are changing the correct config file?
What is the 20090414_1 part in your URL? The name of the core? Be sure to change ITS config (you can get to it from Solr Admin page) and to restart Solr.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
----- Original Message ----
> From: vivek sar <vi...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Thursday, April 16, 2009 3:34:42 AM
> Subject: Re: Using CSV for indexing ... Remote Streaming disabled
>
> Any help on this? Could this error be because of something else (not
> remote streaming issue)?
>
> Thanks.
>
> On Wed, Apr 15, 2009 at 10:04 AM, vivek sar wrote:
> > 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,
> >
> >
> >
> > multipartUploadLimitInKB="20480" />
> > ...
> >
> >
> >
> > 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,
> >
> >
HTTP Status 400 - Remote Streaming is
> > disabled.
________________________________
type Status
> > report
message Remote Streaming is
> > disabled.
description The request sent by the
> > client was syntactically incorrect (Remote Streaming is
> > disabled.).
________________________________
Apache
> > Tomcat/6.0.18
> >
> > Why is it complaining about the remote streaming if it's already
> > enabled? Is there anything I'm missing?
> >
> > Thanks,
> > -vivek
> >
Re: Using CSV for indexing ... Remote Streaming disabled
Posted by vivek sar <vi...@gmail.com>.
Any help on this? Could this error be because of something else (not
remote streaming issue)?
Thanks.
On Wed, Apr 15, 2009 at 10:04 AM, vivek sar <vi...@gmail.com> wrote:
> 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
>