What's the use case for highlights given snippet can be used to highlight properly?

Hi there,
I’m wondering what’s the purpose of _highlightResults given snippet can be used to show highlight text for search result summary. I’m trying to decide which one to use and so far only find a few differences:

  1. highlight return the whole field
  2. snippet summarize the text to certain number of words

I understand the difference but am just curious why highlight needs to exist given snippet can do all its job. Is it for backward compatibility only?


bump and waiting for answers…

You may need both depending on how you build your search. For instance snippet shows in the result list and when the result is hovered, you add a side panel with the full content.