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 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