lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4543) Bring back TFIDFSim.lengthNorm
Date Tue, 06 Nov 2012 15:32:12 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491528#comment-13491528
] 

Michael McCandless commented on LUCENE-4543:
--------------------------------------------

+1
                
> Bring back TFIDFSim.lengthNorm
> ------------------------------
>
>                 Key: LUCENE-4543
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4543
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-4543.patch
>
>
> We removed this before because of LUCENE-2828,
> but the problem there was the delegator (not the lengthNorm method).
> TFIDFSim requires byte[] norms today. So its computeNorm should be final,
> calling lengthNorm() that returns a byte.
> This way there is no possibility for you to do something stupid.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message