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/12 13:28:45 UTC

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

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
    Affects Versions: 2.3.1
            Reporter: Mark Miller
            Assignee: Mark Miller
            Priority: Minor
             Fix For: 2.3.2


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


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

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated LUCENE-1355:
--------------------------------

    Attachment: LUCENE-1355.patch

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


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

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated LUCENE-1355:
--------------------------------

    Affects Version/s:     (was: 2.3.1)
        Fix Version/s:     (was: 2.3.2)
                       2.3.3

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


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

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated LUCENE-1355:
--------------------------------

    Fix Version/s:     (was: 2.3.3)
                   2.4

> 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


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

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ 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