I know how to get relevant highlighted fragments together with some surrounding
text using Lucene highlighter, namely, using
Highlighter highlighter = new Highlighter(scorer);
String[] fragments = highlighter.getBestFragments(stream,
fieldContents, fragmentNumber);
But can I instead get pointers to these fragments in the original contents? In
other words, I need to know where these fragments start and, if possible, end.
Thanks,
Ilya Zavorin
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]