Thrift Usage

Hi Shay,

I am new to Thrift and found document in ES.
Anyway I managed to start ES with Thrift configured. But may I know how to query ES with Thrift?
Can you provide me a sample query that calls ES with Thrift

Thanks
SRR

Hi,

I haven't used Thrift myself but I think there is a unit test for this:
https://github.com/elasticsearch/elasticsearch/blob/master/plugins/transport/thrift/src/test/java/org/elasticsearch/thrift/test/SimpleThriftTests.java

https://github.com/elasticsearch/elasticsearch/blob/master/plugins/transport/thrift/src/test/java/org/elasticsearch/thrift/test/SimpleThriftTests.java
Regards,
Lukas

On Thu, Mar 17, 2011 at 12:18 PM, srrIN srrranga@gmail.com wrote:

Hi Shay,

I am new to Thrift and found document in ES.
Anyway I managed to start ES with Thrift configured. But may I know how to
query ES with Thrift?
Can you provide me a sample query that calls ES with Thrift

Thanks
SRR

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Thrift-Usage-tp2693035p2693035.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

Hi,
Thanks for the link.

Thanks
SRR

Hi,

I found this old link useful to setup thrift with python.

http://www.winterebbs.com/?cat=3

you also need to go to the thrift download site:

http://thrift.apache.org/download/

I used the svn download

Follow the directions to compile and install the source.

Next run ./bin/plugins -install transport-thrift in the ES root directory

Use the instructions in the old link above to implement a python demo in the
./plugins/transport-thrift directory.

Regards,

Wolf

On Thu, Mar 17, 2011 at 8:55 PM, srrIN srrranga@gmail.com wrote:

Hi,
Thanks for the link.

Thanks
SRR

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Thrift-Usage-tp2693035p2696689.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.