{
"took" : 7510,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 1545576,
"relation" : "eq"
},
"max_score" : null,
"hits" : [ ]
},
"aggregations" : {
"inventors_stat" : {
"doc_count_error_upper_bound" : 143,
"sum_other_doc_count" : 1289932,
"buckets" : [
{
"key" : "华为投资控股有限公司",
"doc_count" : 39970
},
{
"key" : "腾讯科技(深圳)有限公司",
"doc_count" : 31428
},
{
"key" : "中国平安保险(集团)股份有限公司",
"doc_count" : 29015
},
{
"key" : "广东欧加控股有限公司",
"doc_count" : 28382
},
{
"key" : "中兴通讯股份有限公司",
"doc_count" : 21425
},
{
"key" : "百度股份有限公司",
"doc_count" : 19655
},
{
"key" : "高通股份有限公司",
"doc_count" : 18638
},
{
"key" : "国家电网有限公司",
"doc_count" : 16891
},
{
"key" : "浪潮集团有限公司",
"doc_count" : 15566
},
{
"key" : "微软公司",
"doc_count" : 14122
},
{
"key" : "维沃控股有限公司",
"doc_count" : 13672
},
{
"key" : "索尼公司",
"doc_count" : 12600
},
{
"key" : "国际商业机器公司",
"doc_count" : 11532
},
{
"key" : "小米科技有限责任公司",
"doc_count" : 11073
},
{
"key" : "阿里巴巴集团控股有限公司",
"doc_count" : 10806
},
{
"key" : "珠海格力集团有限公司",
"doc_count" : 9831
},
{
"key" : "中国移动通信集团有限公司",
"doc_count" : 9774
},
{
"key" : "皇家飞利浦电子股份有限公司",
"doc_count" : 9730
},
{
"key" : "京东香港国际有限公司",
"doc_count" : 9595
},
{
"key" : "美的控股有限公司",
"doc_count" : 9447
}
]
}
},
"profile" : {
"shards" : [
{
"id" : "[BUOmeAQhT7SNvC88n5pedA][search_analy_0218][2]",
"searches" : [
{
"query" : [
{
"type" : "BooleanQuery",
"description" : "title:计算机 abstract_ab:计算机 claims:计算机",
"time_in_nanos" : 39113465,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 34308638,
"match" : 0,
"next_doc_count" : 327553,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 608820,
"advance_count" : 89,
"score" : 0,
"build_scorer_count" : 204,
"create_weight" : 26919,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 4169088
},
"children" : [
{
"type" : "TermQuery",
"description" : "title:计算机",
"time_in_nanos" : 3630632,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 2072441,
"match" : 0,
"next_doc_count" : 50771,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 184932,
"advance_count" : 89,
"score" : 0,
"build_scorer_count" : 293,
"create_weight" : 5282,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 1367977
}
},
{
"type" : "TermQuery",
"description" : "abstract_ab:计算机",
"time_in_nanos" : 5880223,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 4845915,
"match" : 0,
"next_doc_count" : 120904,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 160576,
"advance_count" : 89,
"score" : 0,
"build_scorer_count" : 293,
"create_weight" : 1287,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 872445
}
},
{
"type" : "TermQuery",
"description" : "claims:计算机",
"time_in_nanos" : 14793477,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 13660343,
"match" : 0,
"next_doc_count" : 303726,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 221154,
"advance_count" : 89,
"score" : 0,
"build_scorer_count" : 293,
"create_weight" : 876,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 911104
}
}
]
}
],
"rewrite_time" : 22534,
"collector" : [
{
"name" : "MultiCollector",
"reason" : "search_multi",
"time_in_nanos" : 192489328,
"children" : [
{
"name" : "TotalHitCountCollector",
"reason" : "search_count",
"time_in_nanos" : 13009045
},
{
"name" : "ProfilingAggregator: [inventors_stat]",
"reason" : "aggregation",
"time_in_nanos" : 139867088
}
]
}
]
}
],
"aggregations" : [
{
"type" : "GlobalOrdinalsStringTermsAggregator",
"description" : "inventors_stat",
"time_in_nanos" : 164221538,
"breakdown" : {
"reduce" : 0,
"build_aggregation" : 63086012,
"build_aggregation_count" : 1,
"initialize" : 3673,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 101131853,
"collect_count" : 309532
},
"debug" : {
"segments_with_multi_valued_ords" : 115,
"collection_strategy" : "dense",
"result_strategy" : "terms",
"segments_with_single_valued_ords" : 0,
"has_filter" : false
}
}
]
},
{
"id" : "[IqUHvbrFQE2jrRiIdXCphQ][search_analy_0218][1]",
"searches" : [
{
"query" : [
{
"type" : "BooleanQuery",
"description" : "title:计算机 abstract_ab:计算机 claims:计算机",
"time_in_nanos" : 36282253,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 31513387,
"match" : 0,
"next_doc_count" : 326111,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 575790,
"advance_count" : 91,
"score" : 0,
"build_scorer_count" : 206,
"create_weight" : 25401,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 4167675
},
"children" : [
{
"type" : "TermQuery",
"description" : "title:计算机",
"time_in_nanos" : 3595404,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 2050359,
"match" : 0,
"next_doc_count" : 50291,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 169216,
"advance_count" : 91,
"score" : 0,
"build_scorer_count" : 297,
"create_weight" : 6553,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 1369276
}
},
{
"type" : "TermQuery",
"description" : "abstract_ab:计算机",
"time_in_nanos" : 6219781,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 5192407,
"match" : 0,
"next_doc_count" : 120644,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 173003,
"advance_count" : 91,
"score" : 0,
"build_scorer_count" : 297,
"create_weight" : 1695,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 852676
}
},
{
"type" : "TermQuery",
"description" : "claims:计算机",
"time_in_nanos" : 13769216,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 12624698,
"match" : 0,
"next_doc_count" : 302477,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 189055,
"advance_count" : 91,
"score" : 0,
"build_scorer_count" : 297,
"create_weight" : 1166,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 954297
}
}
]
}
],
"rewrite_time" : 22464,
"collector" : [
{
"name" : "MultiCollector",
"reason" : "search_multi",
"time_in_nanos" : 194955964,
"children" : [
{
"name" : "TotalHitCountCollector",
"reason" : "search_count",
"time_in_nanos" : 12411613
},
{
"name" : "ProfilingAggregator: [inventors_stat]",
"reason" : "aggregation",
"time_in_nanos" : 143461624
}
]
}
]
}
],
"aggregations" : [
{
"type" : "GlobalOrdinalsStringTermsAggregator",
"description" : "inventors_stat",
"time_in_nanos" : 141236038,
"breakdown" : {
"reduce" : 0,
"build_aggregation" : 51234265,
"build_aggregation_count" : 1,
"initialize" : 3880,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 89997893,
"collect_count" : 308817
},
"debug" : {
"segments_with_multi_valued_ords" : 115,
"collection_strategy" : "dense",
"result_strategy" : "terms",
"segments_with_single_valued_ords" : 0,
"has_filter" : false
}
}
]
},
{
"id" : "[Z1jMpCt_QSmB25wvo51OkQ][search_analy_0218][4]",
"searches" : [
{
"query" : [
{
"type" : "BooleanQuery",
"description" : "title:计算机 abstract_ab:计算机 claims:计算机",
"time_in_nanos" : 39200382,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 34394047,
"match" : 0,
"next_doc_count" : 332636,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 694884,
"advance_count" : 89,
"score" : 0,
"build_scorer_count" : 199,
"create_weight" : 20042,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 4091409
},
"children" : [
{
"type" : "TermQuery",
"description" : "title:计算机",
"time_in_nanos" : 3908052,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 2370297,
"match" : 0,
"next_doc_count" : 51503,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 214803,
"advance_count" : 89,
"score" : 0,
"build_scorer_count" : 288,
"create_weight" : 3780,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 1319172
}
},
{
"type" : "TermQuery",
"description" : "abstract_ab:计算机",
"time_in_nanos" : 6666255,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 5595251,
"match" : 0,
"next_doc_count" : 123259,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 207992,
"advance_count" : 89,
"score" : 0,
"build_scorer_count" : 288,
"create_weight" : 854,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 862158
}
},
{
"type" : "TermQuery",
"description" : "claims:计算机",
"time_in_nanos" : 15201089,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 14139212,
"match" : 0,
"next_doc_count" : 308442,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 205278,
"advance_count" : 89,
"score" : 0,
"build_scorer_count" : 288,
"create_weight" : 1236,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 855363
}
}
]
}
],
"rewrite_time" : 17769,
"collector" : [
{
"name" : "MultiCollector",
"reason" : "search_multi",
"time_in_nanos" : 236333359,
"children" : [
{
"name" : "TotalHitCountCollector",
"reason" : "search_count",
"time_in_nanos" : 12456845
},
{
"name" : "ProfilingAggregator: [inventors_stat]",
"reason" : "aggregation",
"time_in_nanos" : 183826629
}
]
}
]
}
],
"aggregations" : [
{
"type" : "GlobalOrdinalsStringTermsAggregator",
"description" : "inventors_stat",
"time_in_nanos" : 153975508,
"breakdown" : {
"reduce" : 0,
"build_aggregation" : 48096785,
"build_aggregation_count" : 1,
"initialize" : 4170,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 105874553,
"collect_count" : 309524
},
"debug" : {
"segments_with_multi_valued_ords" : 110,
"collection_strategy" : "dense",
"segments_with_single_valued_ords" : 0,
"result_strategy" : "terms",
"has_filter" : false
}
}
]
},
{
"id" : "[ZEDuLy85RT2oU28kn4CF8A][search_analy_0218][3]",
"searches" : [
{
"query" : [
{
"type" : "BooleanQuery",
"description" : "title:计算机 abstract_ab:计算机 claims:计算机",
"time_in_nanos" : 49160779,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 44281490,
"match" : 0,
"next_doc_count" : 326573,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 640825,
"advance_count" : 89,
"score" : 0,
"build_scorer_count" : 201,
"create_weight" : 25102,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 4213362
},
"children" : [
{
"type" : "TermQuery",
"description" : "title:计算机",
"time_in_nanos" : 3731923,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 2157135,
"match" : 0,
"next_doc_count" : 50969,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 204789,
"advance_count" : 89,
"score" : 0,
"build_scorer_count" : 290,
"create_weight" : 6825,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 1363174
}
},
{
"type" : "TermQuery",
"description" : "abstract_ab:计算机",
"time_in_nanos" : 6109587,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 5050780,
"match" : 0,
"next_doc_count" : 120546,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 186178,
"advance_count" : 89,
"score" : 0,
"build_scorer_count" : 290,
"create_weight" : 1102,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 871527
}
},
{
"type" : "TermQuery",
"description" : "claims:计算机",
"time_in_nanos" : 14397925,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 13316938,
"match" : 0,
"next_doc_count" : 303184,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 194712,
"advance_count" : 89,
"score" : 0,
"build_scorer_count" : 290,
"create_weight" : 1025,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 885250
}
}
]
}
],
"rewrite_time" : 25057,
"collector" : [
{
"name" : "MultiCollector",
"reason" : "search_multi",
"time_in_nanos" : 217724228,
"children" : [
{
"name" : "TotalHitCountCollector",
"reason" : "search_count",
"time_in_nanos" : 12422029
},
{
"name" : "ProfilingAggregator: [inventors_stat]",
"reason" : "aggregation",
"time_in_nanos" : 165461326
}
]
}
]
}
],
"aggregations" : [
{
"type" : "GlobalOrdinalsStringTermsAggregator",
"description" : "inventors_stat",
"time_in_nanos" : 162604193,
"breakdown" : {
"reduce" : 0,
"build_aggregation" : 49994731,
"build_aggregation_count" : 1,
"initialize" : 4762,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 112604700,
"collect_count" : 308711
},
"debug" : {
"segments_with_multi_valued_ords" : 112,
"collection_strategy" : "dense",
"result_strategy" : "terms",
"segments_with_single_valued_ords" : 0,
"has_filter" : false
}
}
]
},
{
"id" : "[_DMYx4dbQvKALHttl5YV7g][search_analy_0218][0]",
"searches" : [
{
"query" : [
{
"type" : "BooleanQuery",
"description" : "title:计算机 abstract_ab:计算机 claims:计算机",
"time_in_nanos" : 48712778,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 43826696,
"match" : 0,
"next_doc_count" : 326875,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 697019,
"advance_count" : 88,
"score" : 0,
"build_scorer_count" : 198,
"create_weight" : 22566,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 4166497
},
"children" : [
{
"type" : "TermQuery",
"description" : "title:计算机",
"time_in_nanos" : 3986351,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 2442489,
"match" : 0,
"next_doc_count" : 50796,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 204923,
"advance_count" : 88,
"score" : 0,
"build_scorer_count" : 286,
"create_weight" : 4966,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 1333973
}
},
{
"type" : "TermQuery",
"description" : "abstract_ab:计算机",
"time_in_nanos" : 7433664,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 6379039,
"match" : 0,
"next_doc_count" : 120954,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 204702,
"advance_count" : 88,
"score" : 0,
"build_scorer_count" : 286,
"create_weight" : 948,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 848975
}
},
{
"type" : "TermQuery",
"description" : "claims:计算机",
"time_in_nanos" : 17359552,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 16218397,
"match" : 0,
"next_doc_count" : 303374,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 247790,
"advance_count" : 88,
"score" : 0,
"build_scorer_count" : 286,
"create_weight" : 927,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 892438
}
}
]
}
],
"rewrite_time" : 25901,
"collector" : [
{
"name" : "MultiCollector",
"reason" : "search_multi",
"time_in_nanos" : 250065861,
"children" : [
{
"name" : "TotalHitCountCollector",
"reason" : "search_count",
"time_in_nanos" : 14804606
},
{
"name" : "ProfilingAggregator: [inventors_stat]",
"reason" : "aggregation",
"time_in_nanos" : 189239568
}
]
}
]
}
],
"aggregations" : [
{
"type" : "GlobalOrdinalsStringTermsAggregator",
"description" : "inventors_stat",
"time_in_nanos" : 204617888,
"breakdown" : {
"reduce" : 0,
"build_aggregation" : 65586193,
"build_aggregation_count" : 1,
"initialize" : 2947,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 139028748,
"collect_count" : 308992
},
"debug" : {
"segments_with_multi_valued_ords" : 110,
"collection_strategy" : "dense",
"result_strategy" : "terms",
"segments_with_single_valued_ords" : 0,
"has_filter" : false
}
}
]
}
]
}
}
env:
Elasticsearch version 7.9.2
centos7.9
cpu:16core
mem:128G
disk:1788 ssd
profile time total cost
"took" : 7510 ms
but stat time cost in the profile detail ,it can not reach 1000ms
can some body can tell me what happen?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.