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

Adrien Grand commented on LUCENE-7065:
--------------------------------------

+1 I think we should just use Term.toString instead of BytesRef.utf8ToString 
since the values might not be utf8-encoded.

> Fix explain for global ordinal query time join
> ----------------------------------------------
>
>                 Key: LUCENE-7065
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7065
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Martijn van Groningen
>         Attachments: LUCENE_7065.patch, LUCENE_7065.patch
>
>
> The explain methods for the global ordinal join is broken, because even in 
> the case that a document doesn't match with the query it tries to create an 
> explain that tells it does. 
> In the case when score mode 'avg' is used this causes a NPE and in the other 
> cases the return explanation indicates that a document matches while it 
> doesn't.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to