You can do this by adding "colors" array to the end of Highlighter's
If you created config file from provided sample config file, lookup for
multiColorHighlighting section and update
By default, PDF Highlighter on Windows is installed as a service which is running as system user and does not have access to user-mapped network drives. The simplest workaround to make this work in PDF Highlighter is to setup mapping to use UNC path to your network share. See an example.
JSON object that you get in response will have field
documentUrl which you can use as an iframe source.
The simplest approach to this is adding HTTP request header
Accept: application/pdf to your highlighting request.
If setting the header is not convenient to you for any reason, you can send request parameter
Search query interpretation depends on the search software used and also its settings. The text analysis/search engine that is built in Highlighter is very flexible, but the highlighted document may still find more or less words than your search engine. This is mostly affected by language specific settings (e.g. does your search engine have stemming or thesaurus enabled, how does it handle stop words, etc.)
If your search engine has language options enabled, make sure you send the
language parameter to highlighter as well.
Format of the PDF highlight file, which is used with dtSearch, does not contain any information about search queries and relation between found words. Without additional info, PDF Highlighter is not aware of phrase use and cannot mark it as such. As of v4.2, PDF Highlighter supports phrase highlighting with additional hit details from dtSearch.