Closed carschno closed 8 years ago
The frequently used SolrInputDocument
class no longer has a default constructor since Solr 6.1.:
https://issues.apache.org/jira/browse/SOLR-9373.
This may raise various issues with the usage of that class (need to check).
In fact, the default constructor has been replaced by a constructor of variable argument length (public SolrInputDocument(String... fields)
) which appears to result in the following exceptions under certain circumstances when called via reflection (see the afore-mentioned issue in the Solr Jira):
java.lang.NoSuchMethodError: org.apache.solr.common.SolrInputDocument: method <init>()V not found
I myself observed this once and never again. Possibly, rebuilding the module did the trick.
Solr v6.2.0 has been released.
dkpro-core-solr
still uses version 6.0.1 and should be updated.To do: change value of
<solr-solrj.version>
in pom.xml from6.0.1
to6.2.0
.