Needed to return position offsets along with highlighted snippets when using FVH for highlighting.
Using the (LUCENE-3141) patch I was able to get the fragInfo for a particular Phrase search. Currently the Toffs(Term offsets) class only stores the start and end offset.
To get the position offset, I added the position offset information in Toffs and FieldPhraseList class.
|Field||Original Value||New Value|
|Attachment||LUCENE-3243.patch.diff [ 12483847 ]|