seems to be an error with curl



Kevin Miller-17 wrote:
> 
> I am getting the same error message.  I am running Solr on a Windows
> machine.  Is the commit command a curl command or is it a Solr command? 
> 
> 
> Kevin Miller
> Web Services
> 
> -----Original Message-----
> From: Grant Ingersoll [mailto:gsing...@apache.org] 
> Sent: Tuesday, September 08, 2009 12:52 PM
> To: solr-user@lucene.apache.org
> Subject: Re: An issue with <commit/> using Solr Cell and multiple files
> 
> solr/examples/exampledocs/post.sh does:
> curl $URL --data-binary '<commit/>' -H 'Content-type:text/xml;
> charset=utf-8'
> 
> Not sure if that helps or how it compares to the book.
> 
> On Sep 8, 2009, at 1:48 PM, Kevin Miller wrote:
> 
>> I am using the Solr nightly build from 8/11/2009.  I am able to index 
>> my documents using the Solr Cell but when I attempt to send the commit
> 
>> command I get an error.  I am using the example found in the Solr 1.4
>> Enterprise Search Server book (recently released) found on page 84.   
>> It
>> shows to commit the changes as follows (I am showing where my files 
>> are located not the example in the book):
>>
>>>> c:\curl\bin\curl http://echo12:8983/solr/update/ -H "Content-Type:
>> text/xml" --data-binary '<commit waitFlush="false"/>'
>>
>> this give me this error: The system cannot find the file specified.
>>
>> I get the same error when I modify it to look like the following:
>>
>>>> c:\curl\bin\curl http://echo12:8983/solr/update/ '<commit
>> waitFlush="false"/>'
>>>> c:\curl\bin\curl "http://echo12:8983/solr/update/"; -H "Content-Type:
>> text/xml" --data-binary '<commit waitFlush="false"/>'
>>>> c:\curl\bin\curl http://echo12:8983/solr/update/ '<commit />'
>>>> c:\curl\bin\curl "http://echo12:8983/solr/update/"; '<commit />'
>>
>> I am using the example configuration in Solr so my documents are found
> 
>> in the exampledocs folder also my curl program in located in the root 
>> directory which is the reason for the way the curl command is being 
>> executed.
>>
>> I would appreciate any information on where to look or how to get the 
>> commit command to execute after indexing multiple files.
>>
>> Kevin Miller
>> Oklahoma Tax Commission
>> Web Services
> 
> --------------------------
> Grant Ingersoll
> http://www.lucidimagination.com/
> 
> Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)
> using Solr/Lucene:
> http://www.lucidimagination.com/search
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/An-issue-with-%3Ccommit-%3E-using-Solr-Cell-and-multiple-files-tp25350995p25352122.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to