67 }, { "val": "400.0", "avg(popularity)": 7 }, { "val":
"500.0", "avg(popularity)": "NaN" }, { "val": "600.0", "avg(popularity)": 7},
{ "val": "700.0", "avg(popularity)
This looks nice!
The only missing piece for more interactivity would be to be able to map
multiple field values into the same bucket.
e.g.
http://localhost:8983/solr/query?
q=*:*
&facet=true
&facet.field=*round(date, '15MINUTES')*
&facet.stat=sum(retweetCount)
This is a bit similar
The dates won't match unless you truncate all of them to day. But then if
you want to have slots of 15minutes it won't work as you would need to
truncate the dates every 15minutes in the index.
In ES, they have 1 field to make the slots and 1 field to insert into the
bucket, e.g.:
{
"query" :