I'm not sure that will give me what I want, most likely because I was clear what I'm looking for. I would like to take this information and populate a chart so you could see how many documents were created over time of a particular type. So basically I need the range queries so I can populate the chart (the gaps will be larger/smaller depending on the total size of the range, say I'm looking for 100 samples). Does that make more sense?
On Sat, Jan 14, 2012 at 1:15 PM, Yonik Seeley <yo...@lucidimagination.com> wrote: > On Sat, Jan 14, 2012 at 1:12 PM, Lee Carroll > <lee.a.carr...@googlemail.com> wrote: >> if "type" is a field use field faceting with an fq >> >> q=datefield:[start TO end]&fq=type:(a b c)&facet.field=type > > Yep, that will work too. > > -Yonik > http://www.lucidimagination.com