Hi Fayyaz,

>From my point of view, this is not a lucene question.

If I understand your SAX-Handler correctly, you start a document with each
"speech"-start-Tag and you end this document with each "lines"-close-Tag.
So if you know that the SCENE-COMMENTARY Elements and the speech elements
are disjunctive, you could use the same Element for generate document
(start-tag) and adding document to index (close-tag).

Best regards

  Karsten

p.s. is this a homework?
-- 
View this message in context: 
http://www.nabble.com/Creating-an-index-from-an-XML-file-using-Lucene-in-Java-tp18678779p18679016.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to