[ 
https://issues.apache.org/jira/browse/LUCENE-2617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901698#action_12901698
 ] 

Yonik Seeley commented on LUCENE-2617:
--------------------------------------

This happens because of short circuiting during scorer creation - if the term 
doesn't exist in the index, then TermWeight.scorer() returns null.  In the 
higher level BooleanWeight.scorer(), the clause is completely disregarded 
(unless it is mandatory).

> coord should still apply to missing terms/clauses
> -------------------------------------------------
>
>                 Key: LUCENE-2617
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2617
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Yonik Seeley
>
> Missing terms in a boolean query "disappear" (i.e. they don't even affect the 
> coord factor).

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