A long time ago I wanted to port BM25 to the more like this (which is TF/IDF based). Also many other refactors were lined up. I started it but lost traction, so it didn't happen ( https://issues.apache.org/jira/browse/LUCENE-7498, https://github.com/apache/lucene/issues/8549)
Aside from that the More Like This seems what you want: https://solr.apache.org/guide/solr/latest/query-guide/morelikethis.html Cheers -------------------------- *Alessandro Benedetti* Director @ Sease Ltd. *Apache Lucene/Solr Committer* *Apache Solr PMC Member* e-mail: [email protected] *Sease* - Information Retrieval Applied Consulting | Training | Open Source Website: Sease.io <http://sease.io/> LinkedIn <https://linkedin.com/company/sease-ltd> | Twitter <https://twitter.com/seaseltd> | Youtube <https://www.youtube.com/channel/UCDx86ZKLYNpI3gzMercM7BQ> | Github <https://github.com/seaseltd> On Fri, 2 Feb 2024 at 11:53, Ohms, Jannis <[email protected]> wrote: > Hi all > Is it possible to use the document similarity function as a recommender? I > use a collection of text documents. Each document contains an abstract. I > would like to recommend other documents based on the abstract. My > similarity function is BM25. My query currently returns only exact matches > with a high score is it possible to receive more documents with a lower > score? > Is it possible to configure BM25 as a similarity function for more like > this ? > Which similarity Function is implemented by more like this ? > > Thanks >
