Hello.
I'm experimenting with ElasticSearch and want to experiment with the
Java API and the Thift connection.
I've installed the Thrift plugin and when I start ElasticSearch, I see
that it starts the Thrift transport. When I included the Thrift
dependency in the Maven POM, Maven complains with: "Missing artifact
org.elasticsearch:es-libthrift:jar:0.6.1:compile"
The Maven dependency used follows:
org.elasticsearch
elasticsearch-transport-thrift
0.17.1
jar
What are you trying to do? If oyu want to connect to elasticsearch using hte
Java API, you don't need thrift, you can connect using the "native"
connection by constructing a client. If you want to use thrift, you need to
build your own thrift bindings and use thrift lib yourself. Note, the thrift
API is a simple wrapper around the REST API, its similar in nature to
connecting using HTTP.
Hello.
I'm experimenting with Elasticsearch and want to experiment with the
Java API and the Thift connection.
I've installed the Thrift plugin and when I start Elasticsearch, I see
that it starts the Thrift transport. When I included the Thrift
dependency in the Maven POM, Maven complains with: "Missing artifact
org.elasticsearch:es-libthrift:jar:0.6.1:compile"
The Maven dependency used follows:
org.elasticsearch
elasticsearch-transport-thrift
0.17.1
jar
What are you trying to do? If oyu want to connect to elasticsearch using hte
Java API, you don't need thrift, you can connect using the "native"
connection by constructing a client. If you want to use thrift, you need to
build your own thrift bindings and use thrift lib yourself. Note, the thrift
API is a simple wrapper around the REST API, its similar in nature to
connecting using HTTP.
Hello.
I'm experimenting with Elasticsearch and want to experiment with the
Java API and the Thift connection.
I've installed the Thrift plugin and when I start Elasticsearch, I see
that it starts the Thrift transport. When I included the Thrift
dependency in the Maven POM, Maven complains with: "Missing artifact
org.elasticsearch:es-libthrift:jar:0.6.1:compile"
The Maven dependency used follows:
org.elasticsearch
elasticsearch-transport-thrift
0.17.1
jar
Your help is appreciated.
Thanks.- Hide quoted text -
If you use Java, then the "pure" Java API is the fastest. HTTP as a
transport is actually not that slow, its just that some clients perform
badly with it.
What are you trying to do? If oyu want to connect to elasticsearch using
hte
Java API, you don't need thrift, you can connect using the "native"
connection by constructing a client. If you want to use thrift, you need
to
build your own thrift bindings and use thrift lib yourself. Note, the
thrift
API is a simple wrapper around the REST API, its similar in nature to
connecting using HTTP.
Hello.
I'm experimenting with Elasticsearch and want to experiment with the
Java API and the Thift connection.
I've installed the Thrift plugin and when I start Elasticsearch, I see
that it starts the Thrift transport. When I included the Thrift
dependency in the Maven POM, Maven complains with: "Missing artifact
org.elasticsearch:es-libthrift:jar:0.6.1:compile"
The Maven dependency used follows:
org.elasticsearch
elasticsearch-transport-thrift
0.17.1
jar
Your help is appreciated.
Thanks.- Hide quoted text -
One more thing, the Java API uses an internal communication transport, not
HTTP.
On Wed, Aug 10, 2011 at 9:16 PM, Shay Banon kimchy@gmail.com wrote:
If you use Java, then the "pure" Java API is the fastest. HTTP as a
transport is actually not that slow, its just that some clients perform
badly with it.
What are you trying to do? If oyu want to connect to elasticsearch using
hte
Java API, you don't need thrift, you can connect using the "native"
connection by constructing a client. If you want to use thrift, you need
to
build your own thrift bindings and use thrift lib yourself. Note, the
thrift
API is a simple wrapper around the REST API, its similar in nature to
connecting using HTTP.
Hello.
I'm experimenting with Elasticsearch and want to experiment with the
Java API and the Thift connection.
I've installed the Thrift plugin and when I start Elasticsearch, I see
that it starts the Thrift transport. When I included the Thrift
dependency in the Maven POM, Maven complains with: "Missing artifact
org.elasticsearch:es-libthrift:jar:0.6.1:compile"
The Maven dependency used follows:
org.elasticsearch
elasticsearch-transport-thrift
0.17.1
jar
Your help is appreciated.
Thanks.- Hide quoted text -
One more thing, the Java API uses an internal communication transport, not
HTTP.
On Wed, Aug 10, 2011 at 9:16 PM, Shay Banon kim...@gmail.com wrote:
If you use Java, then the "pure" Java API is the fastest. HTTP as a
transport is actually not that slow, its just that some clients perform
badly with it.
What are you trying to do? If oyu want to connect to elasticsearch using
hte
Java API, you don't need thrift, you can connect using the "native"
connection by constructing a client. If you want to use thrift, you need
to
build your own thrift bindings and use thrift lib yourself. Note, the
thrift
API is a simple wrapper around the REST API, its similar in nature to
connecting using HTTP.
Hello.
I'm experimenting with Elasticsearch and want to experiment with the
Java API and the Thift connection.
I've installed the Thrift plugin and when I start Elasticsearch, I see
that it starts the Thrift transport. When I included the Thrift
dependency in the Maven POM, Maven complains with: "Missing artifact
org.elasticsearch:es-libthrift:jar:0.6.1:compile"
The Maven dependency used follows:
org.elasticsearch
elasticsearch-transport-thrift
0.17.1
jar
Your help is appreciated.
Thanks.- Hide quoted text -
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.