Re: MoreLikeThis (mlt) : use the match's maxScore for result score normalization

2010-06-25 Thread Chantal Ackermann
Hi Mitch, thanks for the answer and the link. The use case is to provide content based recommendations for a single item no matter where that came from. So, this input (match) item is the best match, all more like this items compare to it, and the ones that are the most alike would have the

Re: MoreLikeThis (mlt) : use the match's maxScore for result score normalization

2010-06-25 Thread MitchK
Hi Chantal, Munich? Germany seems to be soo small :-). Chantal Ackermann wrote: I only want a way to show to the user a kind of relevancy or similarity indicator (for example using a range of 10 stars) that would give a hint on how similar the mlt hit is to the input (match) item.

MoreLikeThis (mlt) : use the match's maxScore for result score normalization

2010-06-24 Thread Chantal Ackermann
Hi there, consider the following response extract for a MoreLikeThis request: result name=match numFound=1 start=0 maxScore=13.4579935 result name=response numFound=103708 start=0 maxScore=4.1711807 The first result element is the document that was input and for which to return more like this

Re: MoreLikeThis (mlt) : use the match's maxScore for result score normalization

2010-06-24 Thread Chantal Ackermann
To: solr-user@lucene.apache.org solr-user@lucene.apache.org Sent: Thu, June 24, 2010 10:17:57 AM Subject: MoreLikeThis (mlt) : use the match's maxScore for result score normalization Hi there, consider the following response extract for a MoreLikeThis request: result name=match

Re: MoreLikeThis (mlt) : use the match's maxScore for result score normalization

2010-06-24 Thread MitchK
Chantal, have a look at http://lucene.apache.org/java/3_0_1/api/all/org/apache/lucene/search/similar/MoreLikeThis.html More like this to have a guess what the MLT's score concerns. The problem is that you can't compare scores. The query for the normal result-response was maybe something like