Is there a way to sort the search results based on the number of highlighted words per document?
I'm using the highlight feature on a multi_match search and I want to have the results with the most matching highlights on top of the list. Is it possible?