I am working on upgrading the learning to rank plugin from 5.6.x to 6.1.0. I was able to get the code compiling again, running the unit tests works as well. Next step is booting elasticsearch, installing the plugin and run the integration tests. The problem is starting elasticsearch after installing the plugin. I get a few of these kind of exceptions:
Could not find a suitable constructor in com.o19s.es.ltr.feature.store.index.Caches. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
The weird part is that I did not touch this class Caches. I read about making sure to use the right versions of elasticsearch and lucene. I am using 6.1.0 for elasticsearch and 7.1.0 for Lucene. Does anyone have suggestions how to progress?
If you want to try it out, my branch can be found here: https://github.com/jettro/elasticsearch-learning-to-rank/tree/1_0-es6.1