-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken with ElasticSearch 2.0 #45
Comments
Sure. I'll be happy with a PR for a ElasticSearch 2.0 component. |
They can live in the same file, as far as I'm concerned. |
Okay, I'll put one together today. |
I've got an in-progress branch here, but when I try to build the client object I'm getting this error that I can't decipher. Any ideas? system.components.elasticsearch2> (let [addresses (InetSocketTransportAddress. (InetSocketAddress. "localhost" 9300))
setting (.. (Settings/settingsBuilder)
(put "cluster.name" "elasticsearch_bsima")
(build))
client (.. (TransportClient/builder)
(settings setting)
(build))]
client)
NoSuchMethodError com.google.common.util.concurrent.MoreExecutors.directExecutor()Ljava/util/concurrent/Executor; org.elasticsearch.threadpool.ThreadPool.<init> (ThreadPool.java:145)
ThreadPool.java: 145 org.elasticsearch.threadpool.ThreadPool/<init>
TransportClient.java: 119 org.elasticsearch.client.transport.TransportClient$Builder/build
REPL: 5 system.components.elasticsearch2/eval44909
Been banging my head against this error for a few hours now, and I'm not experienced in Java. |
My intuition is that more type hinting is needed. Maybe a |
Hi, meanwhile there is elasticsearch 5 ;)
maybe worth having elasticsearch5 and co, since im sure not to far away we will have 6 ;) ? |
not sure how it can live together with different deps I made an example here following the same style you had already: |
Thank you for looking into this. Thank you! |
It might be prudent to create 2 ElasticSearch components, one for 1.x and one for 2.x. Thoughts, @danielsz?
The text was updated successfully, but these errors were encountered: