I used Elastic in past project as I reported in my article, but I never used relevance, can you add a link to the elastic official documentation about it ?
Depending on the ES version, it either does TF/IDF (older versions) or BM25 (newer versions) by default. You have to explicitly disable it if you don't want it.