
izavorin at caci
Mar 19, 2012, 1:41 PM
Post #1 of 1
(113 views)
Permalink
|
|
is there an efficient way of finding locations of highlighted fragments in original text?
|
|
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
|