My concern is when groupdocs highlight search result it creates a separate .html file, which highlight only that one particular query/word all over the document.
Is there any way groupdocs can highlight multiple query/word with different colors in a single .html file.
An HTML file with highlighted search results can be further processed after generation by the GroupDocs.Search library, for example, using the Aspose.HTML library. You will need to find a tags named hitN (where N is an integer number) and subsequent span tags with the highlighted-term class. Then you need to replace groups of such consecutive tags with single span tags that include the found phrases in their entirety. To highlight with different colors, you need to replace the highlighted-term class with others that correspond to the required colors.