lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-1613) TermEnum.docFreq() is not updated with there are deletes
Date Sat, 25 Apr 2009 10:06:30 GMT


Michael McCandless commented on LUCENE-1613:

John, do you have cases in practice where this is causing problems?

I understand the problem, and it's certainly real, and is not easy to fix "automatically",
but I'm wondering in practice whether the difference in the resulting scores is ever significant.

I suppose we could make a "fixTermCounts()" method, which takes a looong time as it iterates
through the postings for each term to compute the actual count, and then writes a new terms
dict.  The app would have to manually call this method.

> TermEnum.docFreq() is not updated with there are deletes
> --------------------------------------------------------
>                 Key: LUCENE-1613
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 2.4
>            Reporter: John Wang
>         Attachments:
> 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:
For additional commands, e-mail:

View raw message