[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-101) Get the top score

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Jul 30 22:05:11 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27674 ] 

Emmanuel Bernard commented on HSEARCH-101:
------------------------------------------

Actually the score is already normalized. it is guaranteed to be between 0 and 1
getMaxScore() is already used in Lucene to guaranty that.
But for some reasons, the a score is < 1 it is not used to normalize

> Get the top score
> -----------------
>
>                 Key: HSEARCH-101
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-101
>             Project: Hibernate Search
>          Issue Type: New Feature
>    Affects Versions: 3.0.0.beta5
>            Reporter: Fabien
>
> Is there a solution to normalize the score ?
> For example if we want to display the score un percents ...
> (http://jsourcery.com/api/apache/lucene/2.0.0/org/apache/lucene/search/TopDocs.html)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list