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: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to