Skip to content

Instantly share code, notes, and snippets.

@Dterb
Created Sep 2, 2021
Embed
What would you like to do?
"profile" : {
"shards" : [
{
"id" : "[SrXCna9qSp64u3dhuE06Vw][movies][0]",
"searches" : [
{
"query" : [
{
"type" : "BooleanQuery",
"description" : "(((all_actors:blood)^1.5 | episode_title:blood | translated_title:blood | url:blood) ((all_actors:counts)^1.5 | episode_title:counts | translated_title:counts | url:counts))~1",
"time_in_nanos" : 328577900,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 94073944,
"match" : 0,
"next_doc_count" : 516037,
"score_count" : 516037,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 65494283,
"advance_count" : 34,
"score" : 163429762,
"build_scorer_count" : 69,
"create_weight" : 1384231,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 4195680
},
"children" : [
{
"type" : "DisjunctionMaxQuery",
"description" : "((all_actors:blood)^1.5 | episode_title:blood | translated_title:blood | url:blood)",
"time_in_nanos" : 1717302685,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 108183891,
"match" : 0,
"next_doc_count" : 500564,
"score_count" : 500564,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 44623254,
"advance_count" : 34,
"score" : 1563074475,
"build_scorer_count" : 103,
"create_weight" : 222128,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 1198937
},
"children" : [
{
"type" : "BoostQuery",
"description" : "(all_actors:blood)^1.5",
"time_in_nanos" : 531669497,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 567336,
"match" : 0,
"next_doc_count" : 1633,
"score_count" : 1633,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 24545792,
"advance_count" : 21,
"score" : 506045415,
"build_scorer_count" : 56,
"create_weight" : 88976,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 421978
}
},
{
"type" : "TermQuery",
"description" : "episode_title:blood",
"time_in_nanos" : 597709816,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 503658917,
"match" : 0,
"next_doc_count" : 459611,
"score_count" : 459611,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 16305575,
"advance_count" : 34,
"score" : 77388919,
"build_scorer_count" : 69,
"create_weight" : 46917,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 309488
}
},
{
"type" : "TermQuery",
"description" : "translated_title:blood",
"time_in_nanos" : 13008353,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 131379,
"match" : 0,
"next_doc_count" : 1190,
"score_count" : 1190,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 801367,
"advance_count" : 9,
"score" : 12000769,
"build_scorer_count" : 44,
"create_weight" : 19707,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 55131
}
},
{
"type" : "TermQuery",
"description" : "url:blood",
"time_in_nanos" : 19387248,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 2953192,
"match" : 0,
"next_doc_count" : 41012,
"score_count" : 41012,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 2881070,
"advance_count" : 9,
"score" : 13486120,
"build_scorer_count" : 44,
"create_weight" : 17045,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 49821
}
}
]
},
{
"type" : "DisjunctionMaxQuery",
"description" : "((all_actors:counts)^1.5 | episode_title:counts | translated_title:counts | url:counts)",
"time_in_nanos" : 413688063,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 3767729,
"match" : 0,
"next_doc_count" : 16968,
"score_count" : 16968,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 20815582,
"advance_count" : 32,
"score" : 387488422,
"build_scorer_count" : 99,
"create_weight" : 1139635,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 476695
},
"children" : [
{
"type" : "BoostQuery",
"description" : "(all_actors:counts)^1.5",
"time_in_nanos" : 437782767,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 351385,
"match" : 0,
"next_doc_count" : 1023,
"score_count" : 1023,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 19136831,
"advance_count" : 24,
"score" : 418126689,
"build_scorer_count" : 59,
"create_weight" : 6216,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 161646
}
},
{
"type" : "TermQuery",
"description" : "episode_title:counts",
"time_in_nanos" : 6288721,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 1681411,
"match" : 0,
"next_doc_count" : 15938,
"score_count" : 15938,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 1055363,
"advance_count" : 31,
"score" : 3426951,
"build_scorer_count" : 66,
"create_weight" : 8776,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 116220
}
},
{
"type" : "TermQuery",
"description" : "translated_title:counts",
"time_in_nanos" : 2862063,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 9248,
"match" : 0,
"next_doc_count" : 65,
"score_count" : 65,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 547531,
"advance_count" : 9,
"score" : 2176246,
"build_scorer_count" : 44,
"create_weight" : 73368,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 55670
}
},
{
"type" : "TermQuery",
"description" : "url:counts",
"time_in_nanos" : 29493,
"breakdown" : {
"set_min_competitive_score_count" : 0,
"match_count" : 0,
"shallow_advance_count" : 0,
"set_min_competitive_score" : 0,
"next_doc" : 0,
"match" : 0,
"next_doc_count" : 0,
"score_count" : 0,
"compute_max_score_count" : 0,
"compute_max_score" : 0,
"advance" : 0,
"advance_count" : 0,
"score" : 0,
"build_scorer_count" : 35,
"create_weight" : 20958,
"shallow_advance" : 0,
"create_weight_count" : 1,
"build_scorer" : 8535
}
}
]
}
]
}
],
"rewrite_time" : 100457987,
"collector" : [
{
"name" : "MultiCollector",
"reason" : "search_multi",
"time_in_nanos" : 1436363810,
"children" : [
{
"name" : "SimpleTopScoreDocCollector",
"reason" : "search_top_hits",
"time_in_nanos" : 1082669894
},
{
"name" : "MultiBucketCollector: [[by_actor, by_year, by_language, by_number_of_actors, by_director]]",
"reason" : "aggregation",
"time_in_nanos" : 231338280
}
]
}
]
}
],
"aggregations" : [
{
"type" : "SamplerAggregator",
"description" : "by_actor",
"time_in_nanos" : 1821362757,
"breakdown" : {
"reduce" : 0,
"post_collection_count" : 1,
"build_leaf_collector" : 273811,
"build_aggregation" : 138198074,
"build_aggregation_count" : 1,
"build_leaf_collector_count" : 35,
"post_collection" : 1592348075,
"initialize" : 88010,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 90454787,
"collect_count" : 516037
},
"debug" : {
"deferred_aggregators" : [
"aggs"
],
"built_buckets" : 1
},
"children" : [
{
"type" : "GlobalOrdinalsStringTermsAggregator",
"description" : "aggs",
"time_in_nanos" : 1803559887,
"breakdown" : {
"reduce" : 0,
"post_collection_count" : 1,
"build_leaf_collector" : 26680474,
"build_aggregation" : 137367065,
"build_aggregation_count" : 1,
"build_leaf_collector_count" : 70,
"post_collection" : 2564,
"initialize" : 2959,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 1639506825,
"collect_count" : 800
},
"debug" : {
"segments_with_multi_valued_ords" : 70,
"collection_strategy" : "remap using many bucket ords",
"segments_with_single_valued_ords" : 0,
"total_buckets" : 1906,
"built_buckets" : 1,
"result_strategy" : "terms",
"has_filter" : false
}
}
]
},
{
"type" : "SamplerAggregator",
"description" : "by_year",
"time_in_nanos" : 73447149,
"breakdown" : {
"reduce" : 0,
"post_collection_count" : 1,
"build_leaf_collector" : 25741,
"build_aggregation" : 210455,
"build_aggregation_count" : 1,
"build_leaf_collector_count" : 35,
"post_collection" : 1279166,
"initialize" : 11751,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 71920036,
"collect_count" : 516037
},
"debug" : {
"deferred_aggregators" : [
"aggs"
],
"built_buckets" : 1
},
"children" : [
{
"type" : "NumericTermsAggregator",
"description" : "aggs",
"time_in_nanos" : 841755,
"breakdown" : {
"reduce" : 0,
"post_collection_count" : 1,
"build_leaf_collector" : 177681,
"build_aggregation" : 178529,
"build_aggregation_count" : 1,
"build_leaf_collector_count" : 70,
"post_collection" : 1652,
"initialize" : 767,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 483126,
"collect_count" : 800
},
"debug" : {
"total_buckets" : 106,
"built_buckets" : 1,
"result_strategy" : "long_terms"
}
}
]
},
{
"type" : "SamplerAggregator",
"description" : "by_language",
"time_in_nanos" : 604380220,
"breakdown" : {
"reduce" : 0,
"post_collection_count" : 1,
"build_leaf_collector" : 51021,
"build_aggregation" : 93285,
"build_aggregation_count" : 1,
"build_leaf_collector_count" : 35,
"post_collection" : 538551131,
"initialize" : 10199,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 65674584,
"collect_count" : 516037
},
"debug" : {
"deferred_aggregators" : [
"aggs"
],
"built_buckets" : 1
},
"children" : [
{
"type" : "GlobalOrdinalsStringTermsAggregator",
"description" : "aggs",
"time_in_nanos" : 562330827,
"breakdown" : {
"reduce" : 0,
"post_collection_count" : 1,
"build_leaf_collector" : 13451519,
"build_aggregation" : 45352,
"build_aggregation_count" : 1,
"build_leaf_collector_count" : 70,
"post_collection" : 1926,
"initialize" : 578,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 548831452,
"collect_count" : 800
},
"debug" : {
"segments_with_multi_valued_ords" : 0,
"collection_strategy" : "remap using many bucket ords",
"segments_with_single_valued_ords" : 70,
"total_buckets" : 8,
"built_buckets" : 1,
"result_strategy" : "terms",
"has_filter" : false
}
}
]
},
{
"type" : "SamplerAggregator",
"description" : "by_number_of_actors",
"time_in_nanos" : 668183062,
"breakdown" : {
"reduce" : 0,
"post_collection_count" : 1,
"build_leaf_collector" : 21580,
"build_aggregation" : 96077,
"build_aggregation_count" : 1,
"build_leaf_collector_count" : 35,
"post_collection" : 614147398,
"initialize" : 9720,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 53908287,
"collect_count" : 516037
},
"debug" : {
"deferred_aggregators" : [
"aggs"
],
"built_buckets" : 1
},
"children" : [
{
"type" : "NumericTermsAggregator",
"description" : "aggs",
"time_in_nanos" : 590692858,
"breakdown" : {
"reduce" : 0,
"post_collection_count" : 1,
"build_leaf_collector" : 400821,
"build_aggregation" : 51426,
"build_aggregation_count" : 1,
"build_leaf_collector_count" : 70,
"post_collection" : 2711,
"initialize" : 582,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 590237318,
"collect_count" : 800
},
"debug" : {
"total_buckets" : 19,
"built_buckets" : 1,
"result_strategy" : "long_terms"
}
}
]
},
{
"type" : "SamplerAggregator",
"description" : "by_director",
"time_in_nanos" : 57547980,
"breakdown" : {
"reduce" : 0,
"post_collection_count" : 1,
"build_leaf_collector" : 20722,
"build_aggregation" : 78176,
"build_aggregation_count" : 1,
"build_leaf_collector_count" : 35,
"post_collection" : 1411915,
"initialize" : 9866,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 56027301,
"collect_count" : 516037
},
"debug" : {
"deferred_aggregators" : [
"aggs"
],
"built_buckets" : 1
},
"children" : [
{
"type" : "NumericTermsAggregator",
"description" : "aggs",
"time_in_nanos" : 812806,
"breakdown" : {
"reduce" : 0,
"post_collection_count" : 1,
"build_leaf_collector" : 173034,
"build_aggregation" : 44560,
"build_aggregation_count" : 1,
"build_leaf_collector_count" : 70,
"post_collection" : 1676,
"initialize" : 558,
"initialize_count" : 1,
"reduce_count" : 0,
"collect" : 592978,
"collect_count" : 800
},
"debug" : {
"total_buckets" : 19,
"built_buckets" : 1,
"result_strategy" : "long_terms"
}
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment