Throughout this guide in examples we reference our cloud based Highlighter at http://demoapi.highlight4.me/ or http://api.highlight4.me/. For a self-hosted Highlighter instance, replace this URL with the one pointing to your Highlighter instance.
Two different highlighting methods are supported and can be used depending on data available:
Highlight document using a search query (Pro Edition only)
In this case search query is interpreted by highlighter’s search engine. Due to eventual feature differences of search engine used to find the document, highlighted PDF may actually mark more or less words than found by the search engine. (Internally, the highlighter uses embedded Apache Solr search engine which has highly customizable text analysis and search options.)
Highlight document using PDF Highlight File
This is a recommended approach if your search solution can generate highlighting files compatible with Adobe’s PDF Highlighting File Format. That way PDF will have marked the exact terms as found by the search engine. An example of compatible search engine is dtSearch.
Self-hosted PDF Highlighter installation comes with a set of examples that you can try at http://localhost:8998/examples/.