On Thu, Apr 22, 2010 at 02:15:08AM +0100, me said: > It looks like org.apache.lucene.search.highlight.TextFragment has the > right information to do this (i.e textStartPos)
Turns out that it doesn't seem to have the right information in that textStartPos always seems to be 0 (and textEndPos just seems to be the lenght of the fragment). Any suggestions?