Getting Solr Similarity Score

How can I get an assessment of the similarity between the request and each of the received documents in Solr?

Also, how can I set the Solr search method? For example, choose between a vector space model or a document language model.

Is it possible?

+4
source share
2 answers

As you mentioned in your own answer, you can tell Solr to want to get an estimate for each document using fl=*, score . You can see that he is reading this documentation.

First of all, Lucene / Solr provides only TF-IDF (VSM-based strategy). If you decide to include third-party affinity implementations, you can change the scoring strategy used by Solr, but you cannot change it in the base query. In fact, you need to reboot the kernel to change it.

+6
source

as stated here fooobar.com/questions/324098 / ... you can add a rating field to the result by adding fl=*,score to your query.

but I still cannot find a way to select a search method.

0
source

All Articles