Why isn't cosine similarity implemented?

(Daniel Peixoto) #1

I'm conducting a research using elasticsearch. I was planning to use cosine similarity but I noted that it is unavailable and instead we have BM25 as default scoring function.
Is there a reason for that? Is cosine similarity improper for querying documents? Why was BM25 chosen as default?

(system) closed #2

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