[
https://issues.apache.org/jira/browse/LUCENE-4543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610590#comment-13610590
]
Commit Tag Bot commented on LUCENE-4543:
----------------------------------------
[branch_4x commit] Robert Muir
http://svn.apache.org/viewvc?view=revision&revision=1406422
LUCENE-4543: bring back TFIDFSimilarity.lengthNorm
> 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
> Fix For: 4.1, 5.0
>
> 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: [email protected]
For additional commands, e-mail: [email protected]