Controlling b and k1 values on the BM25 of the unified highlighter


The reference states:

"The unified highlighter uses the Lucene Unified Highlighter. This highlighter breaks the text into sentences and uses the BM25 algorithm to score individual sentences as if they were documents in the corpus."

Is it possible to control the b and k1 values for this BM25 algorithm separately from the values I use for searching?

Specifically I don't want sentence length to be accounted for in scoring highlights.


Not sure it answered but did you see: ?

Hi, it doesn't answer my question.
That page is about the similarity used to score documents. What I am looking for is how to configure the similarity used to score highlighting.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.