lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chaitali Gupta <>
Subject Re: Error when indexing XML files
Date Thu, 15 Oct 2009 05:36:06 GMT

Please find the schema file attached. Please let me know what I am doing wrong. 


--- On Wed, 10/14/09, Fergus McMenemie <> wrote:

From: Fergus McMenemie <>
Subject: Re: Error when indexing XML files
Date: Wednesday, October 14, 2009, 2:25 AM

>I am trying to index XML files using SolrJ. The original XML file contains nested elements.
For example, the following is the snippet of the XML file. 
>      <name>SOMETHING </name>
>      <facility>SOME_OTHER_THING</facility>
> </entry>
>I have added the elements "name" and "facility" in Schema.xml file to make these elements
indexable. I have changed the XML document above to look like - 
> ......
> <field name="name">SOMETHING</field> 
> ......
Can you send us the Schema.xml file you created? I suspect that 
one of the fields should be multivalued.


View raw message