lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3934) Residual IDF calculation in the pruning package is wrong
Date Thu, 29 Mar 2012 20:53:25 GMT

     [ 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


Mime
View raw message