From e95e4171d42e051001f2c2757d97097588b42afb Mon Sep 17 00:00:00 2001 From: "zi.tan" Date: Wed, 12 Jun 2019 12:29:49 +0800 Subject: [PATCH] modules/indices/thrift.asciidoc --- docs/reference/modules/thrift.asciidoc | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/docs/reference/modules/thrift.asciidoc b/docs/reference/modules/thrift.asciidoc index 1ea3f81812693..b8d8790903afc 100644 --- a/docs/reference/modules/thrift.asciidoc +++ b/docs/reference/modules/thrift.asciidoc @@ -1,25 +1,17 @@ [[modules-thrift]] == Thrift -The https://thrift.apache.org/[thrift] transport module allows to expose the REST interface of -Elasticsearch using thrift. Thrift should provide better performance -over http. Since thrift provides both the wire protocol and the -transport, it should make using Elasticsearch more efficient (though it has limited -documentation). +https://thrift.apache.org/[thrift] 传输模块允许使用 thrift 来暴露 Elasticsearch 的 REST 接口。thrift应能针对 http 提供更好的性能。因为 thrift 提供了有线协议和传输,它应该可使得使用 Elasticsearch 更有效(尽管它限制了文档)。 -Using thrift requires installing the `transport-thrift` plugin, located -https://github.com/elastic/elasticsearch-transport-thrift[here]. +使用 thrift 要求安装 `transport-thrift` 插件,在 https://github.com/elastic/elasticsearch-transport-thrift[此]。 -The thrift -https://github.com/elastic/elasticsearch-transport-thrift/blob/master/elasticsearch.thrift[schema] -can be used to generate thrift clients. +thrift https://github.com/elastic/elasticsearch-transport-thrift/blob/master/elasticsearch.thrift[schema]可用来生成 shrift 客户端。 [cols="<,<",options="header",] |======================================================================= -|Setting |Description -|`thrift.port` |The port to bind to. Defaults to 9500-9600 +|设置 |描述 +|`thrift.port` |绑定的端口。默认为 9500-9600 -|`thrift.frame` |Defaults to `-1`, which means no framing. Set to a -higher value to specify the frame size (like `15mb`). +|`thrift.frame` |默认为 `-1`,意味着没有框架。设为一个更大的值来指定框架的尺寸(如 `15mb`)。 |=======================================================================