Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Thrift Transport for elasticsearch (STOPPED)
Java Python Thrift
Latest commit 48aa839 @clintongormley clintongormley Changed 1.x to 1.7

Thrift Transport for Elasticsearch

DEPRECATED: The thrift transport is deprecated as of Elasticsearch v1.5.0, and will be removed in 2.0

The thrift transport plugin allows to use the REST interface over thrift on top of HTTP.

In order to install the plugin, simply run:

bin/plugin install elasticsearch/elasticsearch-transport-thrift/2.7.0

You need to install a version matching your Elasticsearch version:

elasticsearch Thrift Plugin Docs
master Build from source See below
es-1.7 2.7.0 2.7.0
es-1.6 2.6.0 2.6.0
es-1.5 2.5.0 2.5.0
es-1.4 2.4.1 2.4.1
es-1.3 2.3.0 2.3.0
es-1.2 2.2.0 2.2.0
es-1.0 2.0.0 2.0.0
es-0.90 1.8.0 1.8.0

To build a SNAPSHOT version, you need to build it with Maven:

mvn clean install
plugin --install transport-thrift \
       --url file:target/releases/


The thrift definition can be found under the elasticsearch.thrift file.

The thrift schema can be used to generate thrift clients.

  • thrift.port: The port to bind to. Defaults to 9500-9600.
  • thrift.frame: Defaults to -1, which means no framing. Set to a higher value to specify the frame size (like 15mb).
  • thrift.bind_host: Set explicit bindings for thrift protocol. Defaults to transport.bind_host or
  • thrift.publish_host: Set explicit bindings for thrift protocol. Defaults to transport.publish_host or
  • thrift.protocol: binary (default) which use Binary protocol or compact which uses Compact Protocol. See Thrift documentation.


This software is licensed under the Apache 2 license, quoted below.

Copyright 2009-2014 Elasticsearch <>

Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
Something went wrong with that request. Please try again.