smanish
2017-08-02 06:26:35 UTC
Following two bundle are there to work with elasticsearch 5.x database.But
both bundle seems not usable due to following issue.
1 . Elasticsearch-Bundle
http://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch/5.4.3_1
2. Elasticsearch-Client Bundle
https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch-client/5.4.3_1
In order to work with elasticsearch 5 you need TransportClient as mentioned
in
https://www.elastic.co/guide/en/elasticsearch/client/java-api/5.5/transport-client.html
which is available in Elasticsearch bundle
To get the TransportClient for first step you need to use
PreBuiltTransportClient which is available in Elasticsearch-Client bundle.
Now the problem is that Elasticsearch-Client which is expected to return
TransportClient does not have it and also not importing it and gives class
not found exception " Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.client.transport.TransportClient not found by
org.apache.servicemix.bundles.elasticsearch-client [127]"
So the question is how it is expected to work?
--
View this message in context: http://servicemix.396122.n5.nabble.com/Issue-with-elasticsearch-bundles-tp5724767.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
both bundle seems not usable due to following issue.
1 . Elasticsearch-Bundle
http://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch/5.4.3_1
2. Elasticsearch-Client Bundle
https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch-client/5.4.3_1
In order to work with elasticsearch 5 you need TransportClient as mentioned
in
https://www.elastic.co/guide/en/elasticsearch/client/java-api/5.5/transport-client.html
which is available in Elasticsearch bundle
To get the TransportClient for first step you need to use
PreBuiltTransportClient which is available in Elasticsearch-Client bundle.
Now the problem is that Elasticsearch-Client which is expected to return
TransportClient does not have it and also not importing it and gives class
not found exception " Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.client.transport.TransportClient not found by
org.apache.servicemix.bundles.elasticsearch-client [127]"
So the question is how it is expected to work?
--
View this message in context: http://servicemix.396122.n5.nabble.com/Issue-with-elasticsearch-bundles-tp5724767.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.