Should I use a unified highlighter on postings or term_vector fields? Which one gives the fastest highlighter?
I have documents with large text fields that will be highlighted.
As stated in the guide: https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-highlighting.html, highlighting with
postings should take much less space, so this should be a recommended option for a unified highlighter.
But if you need to run multi-term queries like
wildcard, it is recommended for you to use
postings don't provide enough information. For these types of queries an expensive analysis needed to be done during query time if
term_vectors are not available.
Thank you for your answer. But my question specifically was about performance. "Which one gives the fastest highlighter?"
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.