Hi there!
I'm have a java application accessing ES. I'm having trouble with the latest elasticsearch-2.3.x.jar files. My questions:
-
Why does the maven artifact
org.elasticsearch elasticsearch 2.3.2
have such different dependencies as the former 2.3.1 version?
- I.e., why is it using an older Lucene Version 4.10.4, while 2.3.1 was using 5.5.0
That makes 2.3.1 quite incompatible with 2.3.2.
-
Why does the client require lucene in the first place?
Caused by: java.lang.ClassNotFoundException: org.apache.lucene.util.Version
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_60]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_60]
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[?:1.8.0_60]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_60]
at org.elasticsearch.Version.(Version.java:44) ~[elasticsearch-2.3.1.jar:2.3.1]
at org.elasticsearch.client.transport.TransportClient$Builder.build(TransportClient.java:129) ~[elasticsearch-2.3.1.jar:2.3.1]
I would have assumed that the client does not need all the backend engine dependencies.
Thanks for any backgrounds or feedback,
Karsten