Tommaso Teofili created LUCENE-7950: ---------------------------------------
Summary: 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org