You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "John Wang (JIRA)" <ji...@apache.org> on 2009/04/25 05:16:30 UTC

[jira] Updated: (LUCENE-1613) TermEnum.docFreq() is not updated with there are deletes

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

John Wang updated LUCENE-1613:
------------------------------

    Attachment: TestDeleteAndDocFreq.java

Test showing docFreq not updated when there are deletes.

> TermEnum.docFreq() is not updated with there are deletes
> --------------------------------------------------------
>
>                 Key: LUCENE-1613
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1613
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 2.4
>            Reporter: John Wang
>         Attachments: TestDeleteAndDocFreq.java
>
>
> TermEnum.docFreq is used in many places, especially scoring. However, if there are deletes in the index and it is not yet merged, this value is not updated.
> Attached is a test case.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org