lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Spath <>
Subject Re: Indexing of deep structured XML
Date Fri, 16 Jan 2004 15:01:10 GMT wrote:
> by mapping all the xml tags (name, street, postcode and city) it to the
> documents (address) fields directly. However is it also possible to map these?
> <address>
>   <name/>
>   <street/>
>   <area>
>     <niceplace/>
>   </area>
> </address>
> Here we have a hierarchy in area (niceplace) which I want to preserve.
> Suppose that the meaning of niceplace in an area is different from the niceplace
> in the first xml structure (closer specified). I want to preserve this. 
> Is there a way to index with Lucene means? If not, are there any attempt of
> people doing this or does somebody have ideas how this could be solved?

I usually preprocess hierarchical xml documents via xslt to generate flat ones 
with coresponding element - field names before indexing.

   <niceplace_in_area/> or <niceplace area="1" />


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message