banana
banana copied to clipboard
Group by in Histogram
Can we group by more than one field in histogram? I know that this is not currently supported, but is it possible to add this feature?
Hi, this seems interesting feature! It's possible indeed to group by multiple fields and add support for it.
I would really like this too, but I am not sure how to do this in Solr. Is there a way to do a date range facet pivot? On Mar 28, 2015 4:24 PM, "Ahmed Adel" [email protected] wrote:
Hi, this seems interesting feature! It's possible indeed to group by multiple fields and add support for it.
— Reply to this email directly or view it on GitHub https://github.com/LucidWorks/banana/issues/161#issuecomment-87295615.
@wrdrvr actually, Solr supports multiple group fields in a single request.
Right, I apologize, I responded in a hurry. I was thinking of using the histogram to generate a line chart for counts based on facet pivot instead of what it currently does. Solr supports this, but I don't think you can get Solr to split it up by date ranges. I've had to round down by dates to a day and hour in separate fields to get this to work.