Re: How to map lucene scores to range from 0~100?

2014-11-12 Thread Chris Hostetter

: I met a new trouble. In my system, we should score the doc range from 0 
: to 100. There are some easy ways to map lucene scores to this scope. 
: Thanks for your help~

https://wiki.apache.org/lucene-java/ScoresAsPercentages




-Hoss
http://www.lucidworks.com/

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



How to map lucene scores to range from 0~100?

2014-11-11 Thread Harry Yu
Hi everyone,


I met a new trouble. In my system, we should score the doc range from 0 to 100. 
There are some easy ways to map lucene scores to this scope. Thanks for your 
help~


Yu

Re: How to map lucene scores to range from 0~100?

2014-11-11 Thread Rajendra Rao
Harry ,

basically converting score into range 0 to 100 require
normalization(dividing each score with highest record and multiply by .100)
.but this score does n't represent matching %.


On Tue, Nov 11, 2014 at 7:48 PM, Harry Yu 502437...@qq.com wrote:

 Hi everyone,


 I met a new trouble. In my system, we should score the doc range from 0 to
 100. There are some easy ways to map lucene scores to this scope. Thanks
 for your help~


 Yu

-- 
Launchship Technology  respects your privacy. This email is intended only 
for the use of the party to which it is addressed and may contain 
information that is privileged, confidential, or protected by law. If you 
have received this message in error, or do not want to receive any further 
emails from us, please notify us immediately by replying to the message and 
deleting it from your computer.


回复: How to map lucene scores to range from 0~100?

2014-11-11 Thread Harry Yu
Hi Rajendra,


Thanks for your reply. Normalization is good way to solve it. But there is 
problem, if normalize by your formula, the score of top one doc would be 100. 
Although it map score range from 0~100, but the score maybe not show the 
similarity between query and hit docs.


My system is to search POI. And I want final score to show they text 
similarity. It like inverse of  levenshtein distance of query and hit docs.‍


Do you have any ideas. Sincerely thank you~


Yu
 




-- 原始邮件 --
发件人: Rajendra Rao;rajendra@launchship.com;
发送时间: 2014年11月11日(星期二) 晚上10:55
收件人: java-userjava-user@lucene.apache.org; 

主题: Re: How to map lucene scores to range from 0~100?



Harry ,

basically converting score into range 0 to 100 require
normalization(dividing each score with highest record and multiply by .100)
.but this score does n't represent matching %.


On Tue, Nov 11, 2014 at 7:48 PM, Harry Yu 502437...@qq.com wrote:

 Hi everyone,


 I met a new trouble. In my system, we should score the doc range from 0 to
 100. There are some easy ways to map lucene scores to this scope. Thanks
 for your help~


 Yu

-- 
Launchship Technology  respects your privacy. This email is intended only 
for the use of the party to which it is addressed and may contain 
information that is privileged, confidential, or protected by law. If you 
have received this message in error, or do not want to receive any further 
emails from us, please notify us immediately by replying to the message and 
deleting it from your computer.