hi Alessandro,
yes please, feel free to open a Jira issue, patches welcome !
Tommaso
Il giorno lun 18 set 2017 alle ore 14:30 alessandro.benedetti <
a.benede...@sease.io> ha scritto:
> Hi Tommaso,
> you are definitely right!
> I see that the method : MultiFields.getTerms
> returns :
> if (term
Hi Tommaso,
you are definitely right!
I see that the method : MultiFields.getTerms
returns :
if (termsPerLeaf.size() == 0) {
return null;
}
As you correctly mentioned this is not handled in :
org/apache/lucene/classification/document/SimpleNaiveBayesDocumentClassifier.java:115
org/apac
it would sound like none of the docs in your index has the "class" field,
in your case Tags, whereas classification needs some bootstrapping (add
some examples of correctly classified docs to the index beforehand).
On the other hand the naive bayes implementation has definitely a bug as
the MultiFi
Hello,
I'm trying to use the knn classifier by following this link:
https://wiki.apache.org/solr/SolrClassification
I use this config :
classification
and
Title,Body
Tags
Tags
knn
2