lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Yu" <502437...@qq.com>
Subject 回复: How to map lucene scores to range from 0~100?
Date Tue, 11 Nov 2014 14:41:46 GMT
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.rao@launchship.com>;
发送时间: 2014年11月11日(星期二) 晚上10:55
收件人: "java-user"<java-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 <502437499@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.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message