Is it possible to provide conditional "highlighting"?

Some search results that we send back are confidential, hence we need to block highlighting of search terms. So based based on a field "type", a result should either have a highlight or not.

What is the best way to implement this?

Thoughts anyone?