You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Adrien Grand (Jira)" <ji...@apache.org> on 2020/08/28 13:54:00 UTC
[jira] [Resolved] (LUCENE-9487) Add a null check on BooleanWeight
[ https://issues.apache.org/jira/browse/LUCENE-9487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand resolved LUCENE-9487.
----------------------------------
Resolution: Invalid
In the place where you added the null check we already confirmed that the query matched, so the scorer can't be null.
> Add a null check on BooleanWeight
> ---------------------------------
>
> Key: LUCENE-9487
> URL: https://issues.apache.org/jira/browse/LUCENE-9487
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Jehyun Lee
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> There is no null check for scorer in BooleanWeight.explain()
> scorer() method is nullable, but the result of the method do not check it.
>
> [https://github.com/apache/lucene-solr/pull/1795]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org