indexing a xml file

2011-09-24 Thread ahmad ajiloo
hello Solr Tutorial page explains about index a xml file. but when I try to index a xml file with this command: ~/Desktop/apache-solr-3.3.0/example/exampledocs$ java -jar post.jar solr.xml I get this error: SimplePostTool: FATAL: Solr returned an error #400 ERROR:unknown field 'name' can anyone he

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

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