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


(Yashpal Singh) #1

{
"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"
}
]
}
]
}


(Zachary Tong) #2

Can you post your query too?

How many documents does it match?


(Yashpal Singh) #3

Hi Polyfractal,

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

it is matching around 21,000,000 documents.


(system) #4

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