triandco opened a new pull request, #794: URL: https://github.com/apache/lucenenet/pull/794
I am using ```Lucene.Net.Search.Highlight``` to display search result. Right now, ```Highlighter.GetBestTextFragments``` is returning an array of ```TextFragment```. I would like to highlight these fragments in the context of the full document as well as doing some further processing depending on where the fragment occurs. To do so, I need to identify the start and end position of these ```TextFragment``` in the document. It seems that these positions are already available in ```TextFragment```: https://github.com/apache/lucenenet/blob/0bbc3798c1a8abcf06fac3f53df6e07a7312c3d5/src/Lucene.Net.Highlighter/Highlight/TextFragment.cs#L46-L48 If they represent the actual position of the fragment in the original text, they can be made public to enable the mentioned use cases. The pull request is a small change to make them publicly readable. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org