Skip to content

Instantly share code, notes, and snippets.

@nomoa
Last active April 24, 2018 21:42
Show Gist options
  • Save nomoa/c132c8bfababd837f0204d4e4ff38196 to your computer and use it in GitHub Desktop.
Save nomoa/c132c8bfababd837f0204d4e4ff38196 to your computer and use it in GitHub Desktop.
profiling_output
{
"profile" : {
"shards" : [
{
"id" : "[Hyk8ekCdRbutEqJcQpsv5g][test][0]",
"searches" : [
{
"query" : [
{
"type" : "MatchAllDocsQuery",
"description" : "*:*",
"time_in_nanos" : 527221,
"breakdown" : {
"score" : 2956,
"build_scorer_count" : 2,
"match_count" : 0,
"create_weight" : 7607,
"next_doc" : 3568,
"match" : 0,
"create_weight_count" : 1,
"next_doc_count" : 3,
"score_count" : 2,
"build_scorer" : 513082,
"advance" : 0,
"advance_count" : 0
}
},
{
"type" : "RankerQuery",
"description" : "rankerquery:",
"time_in_nanos" : 10548780,
"breakdown" : {
"score" : 1005630,
"build_scorer_count" : 2,
"match_count" : 0,
"create_weight" : 1520815,
"next_doc" : 0,
"match" : 0,
"create_weight_count" : 1,
"next_doc_count" : 0,
"score_count" : 2,
"build_scorer" : 7893622,
"advance" : 128706,
"advance_count" : 2
},
"children" : [
{
"type" : "TermQuery",
"description" : "field1:v1",
"time_in_nanos" : 261454,
"breakdown" : {
"score" : 31072,
"build_scorer_count" : 2,
"match_count" : 0,
"create_weight" : 126119,
"next_doc" : 0,
"match" : 0,
"create_weight_count" : 1,
"next_doc_count" : 0,
"score_count" : 2,
"build_scorer" : 90114,
"advance" : 14142,
"advance_count" : 2
}
},
{
"type" : "TermQuery",
"description" : "field2:v1",
"time_in_nanos" : 89871,
"breakdown" : {
"score" : 2554,
"build_scorer_count" : 2,
"match_count" : 0,
"create_weight" : 57631,
"next_doc" : 0,
"match" : 0,
"create_weight_count" : 1,
"next_doc_count" : 0,
"score_count" : 1,
"build_scorer" : 26461,
"advance" : 3219,
"advance_count" : 2
}
},
{
"type" : "DerivedExpressionQuery",
"description" : "fv_query:",
"time_in_nanos" : 1172097,
"breakdown" : {
"score" : 94730,
"build_scorer_count" : 2,
"match_count" : 0,
"create_weight" : 659437,
"next_doc" : 0,
"match" : 0,
"create_weight_count" : 1,
"next_doc_count" : 0,
"score_count" : 2,
"build_scorer" : 415528,
"advance" : 2395,
"advance_count" : 2
}
},
{
"type" : "FunctionScoreQuery",
"description" : "function score (*:*, functions: [{org.elasticsearch.common.lucene.search.function.FieldValueFactorFunction@2ea7121f}])",
"time_in_nanos" : 4832555,
"breakdown" : {
"score" : 386685,
"build_scorer_count" : 2,
"match_count" : 0,
"create_weight" : 619144,
"next_doc" : 0,
"match" : 0,
"create_weight_count" : 1,
"next_doc_count" : 0,
"score_count" : 2,
"build_scorer" : 3825470,
"advance" : 1249,
"advance_count" : 2
}
}
]
}
],
"rewrite_time" : 23734,
"collector" : [
{
"name" : "CancellableCollector",
"reason" : "search_cancelled",
"time_in_nanos" : 213057,
"children" : [
{
"name" : "SimpleTopScoreDocCollector",
"reason" : "search_top_hits",
"time_in_nanos" : 20131
}
]
}
]
}
],
"aggregations" : [ ]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment