lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabiano Nunes <>
Subject Custom token attributes and payload. XML analyzing.
Date Mon, 29 Nov 2010 19:49:31 GMT

I'm trying to store some token attributes found in a XML document.
More specifically, token coordinates for future highlighting.
Example: I have a XML with this structure:

<word c="184,108,292,11">Lucene</word>
<word c="306,21,292,11">in</word>
<word c="340,74,292,11">Action</word>
<word c="428,11,292,11">2nd</word>
<word c="453,23,292,11">Edition</word>

I want to store the @c attribute from word element (coordinates
left,width,top,height) in each token. So, in the search, I'll retrieve each
token position for highlighting. There is any good approach to do this?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message