lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pulkitsing...@gmail.com
Subject Re: Sending pdf files to slor for indexing
Date Sat, 24 Sep 2011 15:11:12 GMT
You should get cygwin for windows and make sure to select curl as one of the many packages
that come with cygwin when it's installer runs.

Sent from my iPhone

On Sep 24, 2011, at 5:29 AM, ahmad ajiloo <ahmad.ajiloo@gmail.com> wrote:

> Also when I use that command in Linux, see this error:
> ---------------------------------------------------
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
> <title>*Error 400 ERROR:unknown field 'ignored_meta'*</title>
> </head>
> <body><h2>HTTP ERROR 400</h2>
> <p>Problem accessing /solr/update/extract. Reason:
> <pre>    ERROR:unknown field 'ignored_meta'</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 command is:
> curl "http://localhost:8983/solr/update/extract?literal.id=doc1&commit=true"
> -F "myfile=@ebrat.pdf"
> 
> On Sat, Sep 24, 2011 at 1:33 PM, ahmad ajiloo <ahmad.ajiloo@gmail.com>wrote:
> 
>> Hi all
>> I want to send a pdf file to slor for indexing. there is a command to send
>> Solr a file via HTTP POST:
>> 
>> http://wiki.apache.org/solr/ExtractingRequestHandler#Getting_Started_with_the_Solr_Example
>> 
>> but "*curl*" is for linux and I want to use Solr in Windows.
>> thanks a lot.
>> 

Mime
View raw message