Re: indexing a xml file

2012-06-19 Thread vidhya
FATAL: Solr returned an error #400 ERROR:unknown field >'name' This issue is due to data type mismatch in both solr(schema.xml) and in coding part(Adding documents). Try to make both the fields should be similar. -- View this message in context: http://lucene.472066.n3.nabble.com/indexing-a-xml

Re: indexing a xml file

2011-09-27 Thread Gora Mohanty
On Tue, Sep 27, 2011 at 7:46 PM, ahmad ajiloo wrote: > find the attachments. [...] So, it is pretty clear then. As people have mentioned earlier, your solr.xml has fields that are not defined in schema.xml. E.g., you need to have a field with name="name" defined for the particular field referred

Re: indexing a xml file

2011-09-27 Thread ahmad ajiloo
find the attachments. thanks On Sun, Sep 25, 2011 at 7:41 AM, Bill Bell wrote: > Send us the example "solr.xml" and "schema.xml'". You are missing fields > in the schema.xml that you are referencing. > > On 9/24/11 8:15 AM, "ahmad ajiloo" wrote: > > >hello > >Solr Tutorial page explains about i

Re: indexing a xml file

2011-09-24 Thread Bill Bell
Send us the example "solr.xml" and "schema.xml'". You are missing fields in the schema.xml that you are referencing. On 9/24/11 8:15 AM, "ahmad ajiloo" wrote: >hello >Solr Tutorial page explains about index a xml file. but when I try to >index >a xml file with this command: >~/Desktop/apache-sol

Re: indexing a xml file

2011-09-24 Thread GR
i think the xml to be indexed has to follow a certain schema, defined in schema.xml under conf directory. maybe, your solr.xml is not doing that Sent from my iPhone On 24 Sep 2011, at 18:15, ahmad ajiloo wrote: hello Solr Tutorial page explains about index a xml file. but when I try to