[ 
https://issues.apache.org/jira/browse/LUCENE-7950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tommaso Teofili updated LUCENE-7950:
------------------------------------
    Affects Version/s: 6.6

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to