I took a look at schema.xml and you are right the field names did not match up 
correctly. It was my own fault.

Thank you for your time sivaprasad and Markus

________________________________________
From: sivaprasad [sivaprasa...@echidnainc.com]
Sent: 24 November 2010 03:58
To: solr-user@lucene.apache.org
Subject: RE: unknown field 'name'

The field names in the xml and schema.xml should be matched

-----Original Message-----
From: "McGibbney, Lewis John [via Lucene]" 
<ml-node+1956387-780012783-225...@n3.nabble.com>
Sent: Tuesday, November 23, 2010 4:01pm
To: "sivaprasad" <sivaprasa...@echidnainc.com>
Subject: unknown field 'name'

Good Evening List,

I have been working with Nutch and due to numerous integration advantages I 
decided to get to grips with the Solr code base.

Solr dist - 1.4.1
java version 1.6.0_22
Windows Vista Home Premium
Command Prompt to execute commands

I encountered the following problem very early on during indexing stage, and 
even though I asked this question (through the wrong list :0|) I have been 
unable to resolve what it is thats going wrong. My searches to date pick up 
hits relating to Db problems and are of no use. I have a new dist of Solr and 
have made no configuration to date.

C:\Users\Mcgibbney\Documents\LEWIS\apache-solr-1.4.1\apache-solr-1.4.1\example\e
xampledocs>java -jar post.jar *.xml
SimplePostTool: version 1.2
SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8, othe
r encodings are not currently supported
SimplePostTool: POSTing files to [http://localhost:8983/solr/update] 
http://localhost:8983/solr/update..
SimplePostTool: POSTing file hd.xml
SimplePostTool: FATAL: Solr returned an error: ERRORunknown_field_name

Help would be great.

Lewis Mc

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 
2009 and Herald Society's Education Initiative of the Year 2009
[http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html]
 
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html



View message @ 
[http://lucene.472066.n3.nabble.com/unknown-field-name-tp1956387p1956387.html] 
http://lucene.472066.n3.nabble.com/unknown-field-name-tp1956387p1956387.html
To start a new topic under Solr - User, email 
ml-node+472068-1030716887-225...@n3.nabble.com
To unsubscribe from Solr - User, 
[http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472068&code=c2l2YXByYXNhZC5qQGVjaGlkbmFpbmMuY29tfDQ3MjA2OHwtMjAyODMzMTY4OQ==]
 click here.
--
View this message in context: 
http://lucene.472066.n3.nabble.com/unknown-field-name-tp1956387p1958454.html
Sent from the Solr - User mailing list archive at Nabble.com.

Email has been scanned for viruses by Altman Technologies' email management 
service - www.altman.co.uk/emailsystems

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 
2009 and Herald Society’s Education Initiative of the Year 2009
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Reply via email to