2013-08-28 19:24:34 -04:00
|
|
|
[[modules-thrift]]
|
|
|
|
== Thrift
|
|
|
|
|
2014-09-10 16:47:15 -04:00
|
|
|
The https://thrift.apache.org/[thrift] transport module allows to expose the REST interface of
|
2013-08-28 19:24:34 -04:00
|
|
|
elasticsearch using thrift. Thrift should provide better performance
|
|
|
|
over http. Since thrift provides both the wire protocol and the
|
2014-09-10 16:47:15 -04:00
|
|
|
transport, it should make using Elasticsearch more efficient (though it has limited
|
|
|
|
documentation).
|
2013-08-28 19:24:34 -04:00
|
|
|
|
|
|
|
Using thrift requires installing the `transport-thrift` plugin, located
|
|
|
|
https://github.com/elasticsearch/elasticsearch-transport-thrift[here].
|
|
|
|
|
|
|
|
The thrift
|
|
|
|
https://github.com/elasticsearch/elasticsearch-transport-thrift/blob/master/elasticsearch.thrift[schema]
|
|
|
|
can be used to generate thrift clients.
|
|
|
|
|
|
|
|
[cols="<,<",options="header",]
|
|
|
|
|=======================================================================
|
|
|
|
|Setting |Description
|
|
|
|
|`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`).
|
|
|
|
|=======================================================================
|
|
|
|
|