PhraseQuery.explain is broken
-----------------------------

         Key: LUCENE-492
         URL: http://issues.apache.org/jira/browse/LUCENE-492
     Project: Lucene - Java
        Type: Bug
    Reporter: Hoss Man


PhraseQuery's explain method returns bogus scores in the case where the phrase 
doesn't match.  Unless i'm crazy, it can even indicate a match when one of the 
terms doesn't even appear in the document.

This can be particularly confusing when looking at the explain output for a doc 
that matches a large boolean query in spite of failing to match on a 
PhraseQuery which is part of that BQ.


I'll try to attach an isolated test case shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to