Re: adding a document using curl

2011-03-04 Thread Marc SCHNEIDER
Hi, Could you please post exactly what you tried? Regards, On Thu, Mar 3, 2011 at 12:31 PM, Ken Foskey kfos...@tpg.com.au wrote: I have read the various pages and used Curl a lot but i cannot figure out the correct command line to add a document to the example Solr instance. I have tried

adding a document using curl

2011-03-03 Thread Ken Foskey
I have read the various pages and used Curl a lot but i cannot figure out the correct command line to add a document to the example Solr instance. I have tried a few things however they seem to be for the file on the same server as solr, in my case I am pushing the document from a windows

Re: adding a document using curl

2011-03-03 Thread Markus Jelsma
Here's a complete example http://wiki.apache.org/solr/UpdateXmlMessages#Passing_commit_parameters_as_part_of_the_URL On Thursday 03 March 2011 12:31:11 Ken Foskey wrote: I have read the various pages and used Curl a lot but i cannot figure out the correct command line to add a document to the

Re: adding a document using curl

2011-03-03 Thread Ken Foskey
On Thu, 2011-03-03 at 12:36 +0100, Markus Jelsma wrote: Here's a complete example http://wiki.apache.org/solr/UpdateXmlMessages#Passing_commit_parameters_as_part_of_the_URL I should have been clearer. A rich text document, XML I can make work and a script is in the example docs folder

Re: adding a document using curl

2011-03-03 Thread pankaj bhatt
Hi All, is there any Custom open source SOLR ADMIN application like what lucid imagination provides in its distribution. I am trying to create thing, however thinking it would be a reinventing of wheel. Request you to please redirect me, if there is any open source

Re: adding a document using curl

2011-03-03 Thread Gary Taylor
As an example, I run this in the same directory as the msword1.doc file: curl http://localhost:8983/solr/core0/update/extract?literal.docid=74literal.type=5; -F file=@msword1.doc The type literal is just part of my schema. Gary. On 03/03/2011 11:45, Ken Foskey wrote: On Thu, 2011-03-03

Re: adding a document using curl

2011-03-03 Thread Gora Mohanty
On Thu, Mar 3, 2011 at 5:15 PM, Ken Foskey kfos...@tpg.com.au wrote: On Thu, 2011-03-03 at 12:36 +0100, Markus Jelsma wrote: Here's a complete example http://wiki.apache.org/solr/UpdateXmlMessages#Passing_commit_parameters_as_part_of_the_URL I should have been clearer.   A rich text document,

Re: adding a document using curl

2011-03-03 Thread Gora Mohanty
On Thu, Mar 3, 2011 at 5:31 PM, pankaj bhatt panbh...@gmail.com wrote: Hi All,       is there any Custom open source SOLR ADMIN application like what lucid imagination provides in its distribution.       I am trying to create thing, however thinking it would be a reinventing of wheel.      

Re: adding a document using curl

2011-03-03 Thread Jayendra Patil
If you are using the ExtractingRequestHandler, you can also try using the stream.file or stream.url. e.g. curl http://localhost:8080/solr/core0/update/extract?stream.file=C:/777045.zipliteral.id=777045literal.title=Testcommit=true; More detailed explaination @