Hi,
I have a question on the 'took' filed from ES response. I run a profile request to one specific index And get following response(partial).
{
"took": 944,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"skipped": 0,
"failed": 0
},
"hits": {.... },
"profile": {
"shards": [
{
"id": "[-xxx][xxx][0]",
"searches": [
{
"query": [
{
"type": "BooleanQuery",
"description": "",
"time": "1048.008013ms",
"time_in_nanos": 1048008013,
"breakdown": {
"score": 271966,
"build_scorer_count": 10,
"match_count": 477947,
"create_weight": 171001,
"next_doc": 660148889,
"match": 386081410,
"create_weight_count": 1,
"next_doc_count": 477991,
"score_count": 2278,
"build_scorer": 376520,
"advance": 0,
"advance_count": 0
},
"children": [ ]
....
},
You can see that time on one shard is 1048.008013ms, but the overall 'took' field only takes 944ms.
I just wonder this 'took' filed is not so accurate. It should larger then time spent on one shard.
Thanks