try vtd-xml
http://vtd-xml.sf.net
it works with any XML regardless of complexity
- Original Message -
From: "Digy"
To: java-user@lucene.apache.org
Sent: Saturday, April 18, 2009 12:25:21 PM GMT -08:00 US/Canada Pacific
Subject: RE: Indexing Complex XML
doc.add(new Fiel
daniel,
have a look at solr DIH, it has prebuilt tools to do just that.
http://wiki.apache.org/solr/DataImportHandler
This bases on solr which is a web-application that bases on lucene.
It does not need imperatively to be run as a web application though,
it can be embedded.
paul
Le 18-avr
iginal Message-
From: Daniel Susanto [mailto:daniel_sus...@yahoo.com]
Sent: Saturday, April 18, 2009 9:09 PM
To: java-user@lucene.apache.org
Subject: Re: Indexing Complex XML
Thanks Erick,
In more complex xml I mean, for example this xml:
Lucene Book
Book author 1
Book author 2
Book for Lu
e 'authors' node? should I put in new Document? or how?
thx. :)
Daniel
Daniel Susanto
http://susantodaniel.wordpress.com
--- On Sun, 4/19/09, Erick Erickson wrote:
From: Erick Erickson
Subject: Re: Indexing Complex XML
To: java-user@lucene.apache.org
Date: Sunday, April 19, 2009, 12
Lucene is an *engine*, not an application. *You* have to process the
XML, decide what the structure of your index is and index the data. There
are many
XML parser options, this is just straight Java code. You'll decide
what's relevant, and add the contents of the relevant elements to a Lucene
docum
Hi,
I need advise or example to index complex XML file, I mean the XML note just in
one level node but more than one. for example indexing rss or atom.
thx b4.
Daniel Susanto
http://susantodaniel.wordpress.com