Thanks again for your help!! :)

 
Regards,

-Clara Vania-





________________________________
From: Uwe Schindler <u...@thetaphi.de>
To: java-user@lucene.apache.org
Sent: Wed, April 28, 2010 12:38:04 AM
Subject: RE: Range Score in Lucene

This hast o do with combining multiple terms in a Boolean query. If you have 
only one term and no boost factors involved, you will get 1. I just repeat, the 
score numbers are arbitrary scale, only compareable within one query.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


> -----Original Message-----
> From: Clara Vania [mailto:chubz_...@yahoo.com]
> Sent: Tuesday, April 27, 2010 7:32 PM
> To: java-user@lucene.apache.org
> Subject: Re: Range Score in Lucene
> 
> Really thanks for the quick reply,
> 
> I want to find documents similar to one document (let's call it
> document A) in my index. To do this I use the MoreLikeThis class to
> help create query from document A. I also included document A in my
> index, so I assumed that I will have document A at the first rank. When
> I do the searching, I print out the top 10 documents along with their
> score. As I assumed before, I have document A in the first rank, but
> the score is above 1 (score=1.841656).
> 
> I think lucene score have range [0..1] because it uses cosine
> similarity, where score 1 means that two documents are perfectly
> similar and 0 means that there are no similarity between two document,
> but why I get document score above 1?
> 
> 
> 
> Thanks,
> 
> -Clara
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org


      

Reply via email to