How can I multiply the score of two queries together in Elasticsearch?

前端 未结 2 1676
傲寒
傲寒 2021-01-06 03:41

In Solr I can use the query function query to return a numerical score for a query and I can user that in the context of a bf parameter something l

2条回答
  •  不知归路
    2021-01-06 04:21

    Alternately, if you've got something in that bf that's heavyweight enough you'd rather not run it across the entire set of matches, you could use rescore requests to modify the score of the top N ranked ORIGINAL QUERY results using subsequent scoring passes with your (cat, dog, etc...) scoring-queries.

提交回复
热议问题