Hi,

Is there an efficient way to find where a highlighted fragment is located in 
the original text stream? Of course, I can first find a fragment using 
Highlighter.getBestFragments() and then search for the fragment (without the 
"<B>"s) using Java's substring search. But is there a way to do it faster using 
Lucene's core or Highlighter machinery?

Thanks

Ilya Zavorin



Reply via email to