[
https://issues.apache.org/jira/browse/LUCENE-7950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16151496#comment-16151496
]
ASF subversion and git services commented on LUCENE-7950:
---------------------------------------------------------
Commit c2c2e8a85e92024d627381858cd1dbcff4cbab72 in lucene-solr's branch
refs/heads/master from [~teofili]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c2c2e8a ]
LUCENE-7950 - fixed potential NPE when no docs have the class field
> 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
> 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]