RE: unknown field 'name'

2010-11-24 Thread McGibbney, Lewis John
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]" 

Sent: Tuesday, November 23, 2010 4:01pm
To: "sivaprasad" 
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


RE: unknown field 'name'

2010-11-23 Thread sivaprasad


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

-Original Message-
From: "McGibbney, Lewis John [via Lucene]" 

Sent: Tuesday, November 23, 2010 4:01pm
To: "sivaprasad" 
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.


Re: unknown field 'name'

2010-11-23 Thread Markus Jelsma
I see i missed the `name`-part. Did you really start the example with java -
jar start.jar in the example directory? Name is a defined field in the shipped 
schema.

> Hi,
> 
> Strange, the example schema should work with the example documents. Anyway,
> see your Solr output as it will show you which field it complains about.
> 
> Cheers,
> 
> > 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\ex
> > am ple\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..
> > 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


Re: unknown field 'name'

2010-11-23 Thread Markus Jelsma
Hi,

Strange, the example schema should work with the example documents. Anyway, 
see your Solr output as it will show you which field it complains about.

Cheers,

> 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\exam
> ple\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..
> 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