Query:
POST events_production_2015_04/contact/_search
{
"query": {
"filtered": {
"filter": {
"bool": {
"must": []
}
}
}
},
"aggs": {
"contact_ids": {
"terms": { "field": "contact_id" }
}
}
}
Response:
{
"took": 240,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 3614637,
"max_score": 1,
"hits": [
{
"_index": "events_production_2015_04",
"_type": "contact",
"_id": "12094631113617",
"_score": 1,
"_source": {
"contact_id": 12094631113617
}
},
...
{
"_index": "events_production_2015_04",
"_type": "contact",
"_id": "12094629244489",
"_score": 1,
"_source": {
"contact_id": 12094629244489
}
}
]
},
"aggregations": {
"contact_ids": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": []
}
}
}
Then I do:
curl -XPOST 'http://cluster.host:9200/_cache/clear' -d '{ "fielddata": "true" }'
And just after that I do the same query and get the following result:
{
"took": 2776,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 3614639,
"max_score": 1,
"hits": [
{
"_index": "events_production_2015_04",
"_type": "contact",
"_id": "12094631113617",
"_score": 1,
"_source": {
"contact_id": 12094631113617
}
},
...
{
"_index": "events_production_2015_04",
"_type": "contact",
"_id": "12094629244489",
"_score": 1,
"_source": {
"contact_id": 12094629244489
}
}
]
},
"aggregations": {
"contact_ids": {
"doc_count_error_upper_bound": 5,
"sum_other_doc_count": 3614629,
"buckets": [
{
"key": 5497558141098,
"doc_count": 1
},
...
{
"key": 5497558191959,
"doc_count": 1
}
]
}
}
}
I don't get any CircuitBreakingException exceptions at all. I checked all the nodes log files, and query response does not return any exceptions as well.