Using GroupDocs.Parser to search for “test” in the attached document, shows hits on Page 1 (PageIndex 0) and Page 2 (PageIndex 1) which would be correct.
Using the HighlightOptions reveals that the results on PageIndex …... shows hits on page 1 (pageIndex 0) and page 2 (PageIndex 1)...coming from the actual first page, which should be pageIndex 0...