[root@bigdata-yace08 ~]# curl -X GET "bigdata-yace08:9200/test1/_search?pretty&timeout=1ms"
{
"took" : 2,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : 5,
"max_score" : 1.0,
"hits" : [
{
"_index" : "test1",
"_type" : "data",
"_id" : "fg1EEG4BTTB7U7d-DP5G",
"_score" : 1.0,
"_source" : {
为什么我设置的timeout=1ms,执行需要2ms,还能正常输出呢?
谢谢~
1 个回复
Marquezzzz
赞同来自:
see https://elasticsearch.cn/question/4141