You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2008/08/19 15:17:44 UTC

[jira] Resolved: (LUCENE-1355) Using the WeightedTerms option in the Highlighter can cause fragments to be supressed for indexes with deletes

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

Mark Miller resolved LUCENE-1355.
---------------------------------

       Resolution: Fixed
    Lucene Fields: [New, Patch Available]  (was: [New])

> Using the WeightedTerms option in the Highlighter can cause fragments to be supressed for indexes with deletes
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1355
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1355
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 2.4
>
>         Attachments: LUCENE-1355.patch
>
>
> An index with a few documents and many deletes can report a lower total docs than docFreq for a term - total docs will account for deletes while docFreq will not - this causes the idf to be negative and the fragment to score < 0.

-- 
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