You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2012/11/06 16:32:12 UTC
[jira] [Commented] (LUCENE-4543) Bring back TFIDFSim.lengthNorm
[ 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