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