ES Profile : Collector is taking hughe time as compared to query time

{
"query":[
{
"type":"BooleanQuery",
"description":"+(ConstantScore(location:United Kingdom))^0.0 #(ConstantScore(_type:abc))^0.0",
"time":"5038.449155ms",
"breakdown":{},
"children":[
{},
{}
]
}
],
"rewrite_time":342009,
"collector":[
{
"name":"CancellableCollector",
"reason":"search_cancelled",
"time":"42858.34100ms",
"children":[
{
"name":"SimpleFieldCollector",
"reason":"search_top_hits",
"time":"42083.81388ms"
}
]
}
]
}

Can you post your query too?

How many documents does it match?

Hi Polyfractal,

The query is simple filtering on location field of the object.

it is matching around 21,000,000 documents.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.