Scoring description and details for boost inaccurate & incomplete #46571
Labels
>bug
:Search Relevance/Ranking
Scoring, rescoring, rank evaluation.
Team:Search Relevance
Meta label for the Search Relevance team in Elasticsearch
Elasticsearch version (
bin/elasticsearch --version
):Version: 7.3.1, Build: default/tar/4749ba6/2019-08-19T20:19:25.651794Z, JVM: 1.8.0_201
Plugins installed: []
none
JVM version (
java -version
):OpenJDK 64-Bit Server VM (build 25.201-b09, mixed mode)
OS version (
uname -a
if on a Unix-like system):Linux server1 4.4.0-1090-aws #101-Ubuntu SMP Fri Aug 2 15:21:01 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
When asking for the score explanation by setting
"explain": true
, a boost factor of 2.2 gets reported for queries without boost parameter and 22.0 for queries with a boost of 10. It seems as (1 + k1) from BM25 got factored into the boost factor without reflecting that information in the name nor in the description.I expect a description similar to "boost factor, computed as (1 + k1) * boost value and in the details the k1 saturation parameter and the actual boost value.
Steps to reproduce:
Please include a minimal but complete recreation of the problem, including
(e.g.) index creation, mappings, settings, query etc. The easier you make for
us to reproduce it, the more likely that somebody will take the time to look at it.
Provide logs (if relevant):
The text was updated successfully, but these errors were encountered: