Hi,

I am using DateHistogram Facet for getting the Daterange and

items. For Example

In DateHistogram Facet we can get the number of data or count

within the selected date range. In my application I need to get both

the

- Daterange and the count of matches similar to

createddate" : {

"_type" : "statistical",

"count" : 158,

"total" : 2.10720682311E14,

"min" : 1.3332708E12,

"max" : 1.3340484E12,

"mean" : 1.3336752045E12,

"sum_of_squares" : 2.8103295903276077E26,

"variance" : 6.30332803714792E16,

"std_deviation" : 2.510642952940127E8

}

- The number number of items and the matches count similar to

"facets" : {

"itemscount" : {

"_type" : "terms",

"missing" : 0,

"total" : 3492,

"other" : 0,

"terms" : [ {

"term" : 1,

"count" : 3022

}, {

"term" : 2,

"count" : 247

}, {

"term" : 6,

"count" : 154

}, {

"term" : 3,

"count" : 28

}, {

"term" : 5,

"count" : 27

}, {

"term" : 4,

"count" : 14

} ]

},

Can this two things will get by a single facet? How can I get this

using facet?

Cheers!

George