lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GR <the.r...@gmail.com>
Subject Re: indexing a xml file
Date Sat, 24 Sep 2011 14:39:16 GMT
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 <ahmad.ajiloo@gmail.com> 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-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 help me?
> thanks

Mime
View raw message