Facet:
"facets": {
"distinct": {
"distinct_date_histogram": {
"key_field": "time",
"interval": "day",
"timeZone": -7.0,
"value_field": "userName"
}
}
}
Result:
"facets": {
"distinct": {
"_type": "distinct_date_histogram",
"entries": [
{
"time": 1392879600000,
"count": 2
},
{
"time": 1392966000000,
"count": 2
},
{
"time": 1395212400000,
"count": 1
},
{
"time": 1395817200000,
"count": 2
}
],
"count": 2
}
}
Expecting:
{
"time": 1395817200000,
"count": 3
}
There are three userNames for this day: [diranl, dcervelli, admin]. I don't understand why the timefacets only returns two.