You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrzej Bialecki (Updated) (JIRA)" <ji...@apache.org> on 2012/03/29 22:53:25 UTC

[jira] [Updated] (LUCENE-3934) Residual IDF calculation in the pruning package is wrong

     [ https://issues.apache.org/jira/browse/LUCENE-3934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrzej Bialecki  updated LUCENE-3934:
--------------------------------------

    Attachment: LUCENE-3934.patch

Patch that fixes the issue. Added unit test. If no objections I'll commit shortly.
                
> Residual IDF calculation in the pruning package is wrong
> --------------------------------------------------------
>
>                 Key: LUCENE-3934
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3934
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 3.5, 3.6
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>         Attachments: LUCENE-3934.patch
>
>
> As discussed on the mailing list (http://markmail.org/message/cwnyfqmet3wophec) there seems to be a bug in both the formula and in the way RIDF is calculated. The formula is missing a minus, but also the calculation uses local (in-document) term frequency instead of the total term frequency (sum of all term occurrences in a corpus).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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