Yes, i have followed the directions on http://wiki.apache.org/solr/UpdateCSV.
<http://wiki.apache.org/solr/UpdateCSV>
i am learning Solr from the mentioned webpage.

Can it be a problem with CURL?

/Rickey

On Fri, May 9, 2008 at 10:15 AM, Ryan McKinley <[EMAIL PROTECTED]> wrote:

> make sure you are following all the directions on:
> http://wiki.apache.org/solr/UpdateCSV
>
> in particular check "Methods of uploading CSV records"
>
>
>
> On May 9, 2008, at 9:58 AM, Ricky wrote:.
>
>> Hello,
>>
>> Am a newbie to SOLR. I am trying to learn it now. i have downloaded
>> apache-solr 1.2.0.zip file. I have tried the examples in the exampledocs
>> of
>> solr 1.2. The xml file examples are working fine. Able to index them also.
>> But i could not get the result for csv file i.e books.csv. I am getting
>> the
>> error  *
>> org.apache.solr.core.SolrException: missing content stream
>> at
>>
>> org.apache.solr.handler.CSVRequestHandler.handleRequestBody(CSVRequesthandler.java:50)
>> *
>> .............................. ...............
>> .......................................
>> and getting the the contents of the csv file on the console (where i run
>> solr start.jar file(Am using Windows XP/DOS prompt))
>>
>> What i have done is,
>>
>> Changed the following in solrconfig.xml,
>> <requestParsers enableRemoteStreaming="true"
>> multipartUploadLimitInKB="2048"
>> />
>> <requestHandler name="/update/csv" class="solr.CSVRequestHandler"
>> startup="lazy" />
>>
>> Used the following to send CSV data to solr,
>> c:/solr1.2/example/exampledocs>*curl
>> http://localhost:8983/solr/update/csv--data-binary @books.csv -H
>> 'Content-type:text/plain; charset=utf-8'
>>
>>
>> *Please give me a quick reply as am planning to use solr in my present
>> project.
>>
>> Thanks in Advance,
>> Ricky
>>
>
>

Reply via email to