I created a search engine to search for the most relevant phrases within a document after a custom text search. After my processing, I have a list of phrase texts. Now I need to show them to the user, showing the original source PDF file and scrolling it to the page where the original phrase is found. The best scenario is to highlight it, but for now, scrolling is enough.
I am using PHP and Javascript.
Can someone tell me a way to do this? Is any infrastructure available?
Any advice is appreciated.
source share