Hi there, I was facing an exception while running integration tests in my springboot application. It seemed it was constructing the client requests with doctype which is not supported in 7.x+.
After investigating I found out that it could be solved by appying the ReindexPlugin. Looking at the code in org.codelibs.elasticsearch.runner.ElasticsearchClusterRunner I saw that you were applying it but with wrong package.
but in your jar the ReindexPlugin have the following path: 'org.elasticsearch.reindex.ReindexPlugin'. I passed that in the config for creating the runner and works. Maybe you want to fix this in your code and review the rest of plugins?
Hi there, I was facing an exception while running integration tests in my springboot application. It seemed it was constructing the client requests with doctype which is not supported in 7.x+. After investigating I found out that it could be solved by appying the ReindexPlugin. Looking at the code in
org.codelibs.elasticsearch.runner.ElasticsearchClusterRunner
I saw that you were applying it but with wrong package.You preload this:
but in your jar the ReindexPlugin have the following path: 'org.elasticsearch.reindex.ReindexPlugin'. I passed that in the config for creating the runner and works. Maybe you want to fix this in your code and review the rest of plugins?
Keep up the good work!
Cheers,
juan