[
https://issues.apache.org/jira/browse/LUCENE-7950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16151497#comment-16151497
]
ASF subversion and git services commented on LUCENE-7950:
---------------------------------------------------------
Commit 4af0af4ee32c4813474a03935185254d708bcc0c in lucene-solr's branch
refs/heads/branch_7x from [~teofili]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=4af0af4 ]
LUCENE-7950 - fixed potential NPE when no docs have the class field
(cherry picked from commit c2c2e8a)
> SimpleNaiveBayesDocumentClassifier throws NPE if no docs have the class field
> -----------------------------------------------------------------------------
>
> Key: LUCENE-7950
> URL: https://issues.apache.org/jira/browse/LUCENE-7950
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/classification
> Affects Versions: 6.6
> Reporter: Tommaso Teofili
> Assignee: Tommaso Teofili
> Fix For: 7.1
>
>
> As discussed on the solr-user@ list the SNBDC throws a NPE as the potential
> _null_ value resulting from _MultiFields.getTerms(indexReader,
> classFieldName)_ is not properly handled.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]