I know how to get relevant highlighted fragments together with some surrounding text using Lucene highlighter, namely, using

Java Code:
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.