[
https://issues.apache.org/jira/browse/LUCENE-4933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631308#comment-13631308
]
Robert Muir commented on LUCENE-4933:
-------------------------------------
{quote}
historically the value of having both tf(int) and tf(float) was that people
could choose to implement alternative functions for dealing with phrase
frequency (using tf(float)) vs single term query's (using tf(int))
{quote}
There is no value in having different functions here: only the possibility of
bugs.
> SweetSpotSimilarity doesnt override tf(float)
> ---------------------------------------------
>
> Key: LUCENE-4933
> URL: https://issues.apache.org/jira/browse/LUCENE-4933
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/query/scoring
> Affects Versions: 2.0.0
> Reporter: Robert Muir
> Attachments: LUCENE-4933.patch
>
>
> This means its scoring is not really right: it only applies to term queries
> and exact phrase queries, but not e.g. sloppy phrase queries and spans.
> As far as I can tell, its had this bug all along.
--
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]