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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to