Support specifing score query on highlight.

This is useful if you want to highlight terms not in the search query or
you want sort highlighted snippets based on another query.

Closes #3630