0

I need to use the Fast Vector Highlighter in Elasticsearch, and I would like to remove the tf-idf from the scoring of the documents. I would like to rank documents based just on boost values if that's possible. For example, I would like to rank matches on "foo" higher than matches on "bar" without considering term frequency in the document.

Is there a way I could do this just from the highlight query itself ?

Thanks a lot for your help!

  • I found this [doc](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-similarity.html). Maybe help you. – rabbitbr Sep 12 '22 at 22:10

0 Answers0