Trivial question: request for id when indexing using CURL ExtractingRequestHandler

2009-03-24 Thread Chris Muktar
I'm performing this operation: curl http://localhost:8983/solr/update/extract?ext.def.fl=text --data-binary @ZOLA.doc -H 'Content-type:text/html' in order to index word document ZOLA.doc into Solr using the example schema.xml. It says I have not provided an 'id', which is a required field. I'm

Re: Trivial question: request for id when indexing using CURL ExtractingRequestHandler

2009-03-24 Thread Chris Muktar
I've tried this too, still no luck: curl http://localhost:8983/solr/update/extract?ext.def.fl=text -F id=123 -F te...@zola.doc 2009/3/24 Chris Muktar ch...@wikijob.co.uk I'm performing this operation: curl http://localhost:8983/solr/update/extract?ext.def.fl=text--data-binary @ZOLA.doc -H

Re: Trivial question: request for id when indexing using CURL ExtractingRequestHandler

2009-03-24 Thread Chris Hostetter
Deja-Vu... http://www.nabble.com/Missing-required-field%3A-id-Using-ExtractingRequestHandler-to22611039.html : I'm performing this operation: : : curl http://localhost:8983/solr/update/extract?ext.def.fl=text --data-binary : @ZOLA.doc -H 'Content-type:text/html' : : in order to index word

Re: Trivial question: request for id when indexing using CURL ExtractingRequestHandler

2009-03-24 Thread Chris Muktar
Fantastic thank you! I'm executing this: curl -F te...@zheng.doc -F 'commit=true' http://localhost:8983/solr/update/extract?ext.def.fl=text\ext.literal.id=2 however performing the query http://localhost:8983/solr/select?q=id:2 produces the output but without a text field. I'm not sure if it's

Re: Trivial question: request for id when indexing using CURL ExtractingRequestHandler

2009-03-24 Thread Erik Hatcher
If your text field is not stored, then it won't be available in results. That's the likely explanation. Seems like all is well. Erik On Mar 24, 2009, at 11:34 PM, Chris Muktar wrote: Fantastic thank you! I'm executing this: curl -F te...@zheng.doc -F 'commit=true'