你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
没有找到相关结果
kennywu76 - Wood
赞同来自: novia 、ybtsdst
novia - 1&0
赞同来自:
runc
{ "from" : 0, "size" : 15, "query" : { "bool" : { "must" : [ { "query_string" : { "query" : "*", "fields" : [ ], "use_dis_max" : true, "tie_breaker" : 0.0, "default_operator" : "or", "auto_generate_phrase_queries" : false, "max_determined_states" : 10000, "enable_position_increment" : true, "fuzziness" : "AUTO", "fuzzy_prefix_length" : 0, "fuzzy_max_expansions" : 50, "phrase_slop" : 0, "escape" : false, "split_on_whitespace" : true, "boost" : 1.0 } } ], "filter" : [ { "range" : { "@timestamp" : { "from" : 1506392981000, "to" : 1506394781000, "include_lower" : true, "include_upper" : true, "boost" : 1.0 } } } ], "disable_coord" : false, "adjust_pure_negative" : true, "boost" : 1.0 } }, "sort" : [ { "@timestamp" : { "order" : "desc" } } ], "highlight" : { "pre_tags" : [ "<strongclass='stack_hightlight'>" ], "post_tags" : [ "<class='stack_hightlight'strong>" ], "fragment_size" : 2147483647, "highlight_query" : { "match" : { "message" : { "query" : "*", "operator" : "OR", "prefix_length" : 0, "max_expansions" : 50, "fuzzy_transpositions" : true, "lenient" : false, "zero_terms_query" : "NONE", "boost" : 1.0 } } }, "fields" : { "*" : { } } }, "ext" : { } }
要回复问题请先登录或注册
4 个回复
kennywu76 - Wood
赞同来自: novia 、ybtsdst
这个差异是否可以反复复现? 如果是可以反复复现的问题,试一下先做以下两点检查:
最好贴一下restful的查询的完整dsl, 以及transport查询的代码。
novia - 1&0
赞同来自:
runc
赞同来自:
es
单jvm配置:
-Xms8g
-Xmx8g
-Xmn512m
集群配置:
6台虚机,16c 32G的配置
rest的dsl信息:
rest的方式返回局部信息:
"took":13321,"timed_out":false,"_shards":{"total":2280,"successful":2280,"failed":0},"hits":{"total":230430583,"max_score":1.0 ....}
执行10次,基本耗时在12-13s左右,
但是transport的方式,是偶尔很快,有时很慢,快的时候3-7s就能出结果,慢的时候30-50s左右。
runc
赞同来自:
es1,es2
web1
<=> (vip)机器 < => es3,es4
web2
es5,es6
web机器通过tcp 9300 连接vip负载均衡机器到和es集群进行通讯的,是什么原因导致集群处理请求如此不稳定呢?