lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ali Nazemian <alinazem...@gmail.com>
Subject Re: Lucene cosine similarity score for more like this query
Date Mon, 02 Feb 2015 20:39:20 GMT
Dear Erik,
Thank you for your response. Would younplease tell me why this score could
be higher than 1? While cosine similarity can not be higher than 1.
On Feb 2, 2015 7:32 PM, "Erik Hatcher" <erik.hatcher@gmail.com> wrote:

> The scoring is the same as Lucene.  To get deeper insight into how a score
> is computed, use Solr’s debug=true mode to see the explain details in the
> response.
>
>         Erik
>
> > On Feb 2, 2015, at 10:49 AM, Ali Nazemian <alinazemian@gmail.com> wrote:
> >
> > Hi,
> > I was wondering what is the range of score is brought by more like this
> > query in Solr? I know that the Lucene uses cosine similarity in vector
> > space model for calculating similarity between two documents. I also know
> > that cosine similarity is between -1 and 1 but the fact that I dont
> > understand is why the score which is brought by more like this query
> could
> > be "12" for example?! Would you please explain what is the calculation
> > process is Solr?
> > Thank you very much.
> >
> > Best regards.
> >
> > --
> > A.Nazemian
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message