First result has a score of 6.36 and second one has a score of 6.24. First result match field is shorter than second one (+ score), but there are more term matches on the second one, can anyone help me and explain it to me?
I had a question about scoring not too long ago. I didn't really knew what was going on. I cannot give you a complete answer, but maybe help you in the right direction as others did for me:
Relevance tuning, search fields and weights, as already mentioned will impact the scoring.
If you use APIcalls, or just use them for testing, you can use the Explain-method. This will give you info on the buildup of the scoring for a document. So what contributes how much to the score. Haven't tried it myself so far, but if you are looking for details, this seems to be a good thing to try. For documentation see: Explain API | Elasticsearch Guide [7.15] | Elastic
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.