Hi all,
Can someone help me understand why we get different results form the
following two queries (or tell me where I can find an explanation)
{
"from" : 0, "size" : 0,
"query": {
"filtered": {
"query": {
"term": {
"@fields.check_id":
"680c814c-9d97-42e5-8d6f-a463195c98cf"
}
},
"filter": {
"range": {
"@timestamp": {
"from": "now-1M",
"to": "now"
}
}
}
}
},
"facets": {
"uptime": {
"terms": {
"field": "@fields.result"
}
}
}
}
and this
{
"from" : 0, "size" : 0,
"query": {
"filtered": {
"query": {
"match_all": {}
},
"filter": {
"range": {
"@timestamp": {
"from": "now-1M",
"to": "now"
}
}
}
}
},
"facets": {
"uptime": {
"terms": {
"field": "@fields.result"
},
"facet_filter": {
"term": {
"@fields.check_id":
"680c814c-9d97-42e5-8d6f-a463195c98cf"
}
}
}
}
}
Thanks,
Jurg.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.