banana icon indicating copy to clipboard operation
banana copied to clipboard

Group by in Histogram

Open harshinim opened this issue 10 years ago • 4 comments

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?

harshinim avatar Mar 27 '15 12:03 harshinim

Hi, this seems interesting feature! It's possible indeed to group by multiple fields and add support for it.

aadel avatar Mar 28 '15 20:03 aadel

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.

nickvasilyev avatar Mar 30 '15 11:03 nickvasilyev

@wrdrvr actually, Solr supports multiple group fields in a single request.

aadel avatar Apr 06 '15 17:04 aadel

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.

nickvasilyev avatar Apr 06 '15 20:04 nickvasilyev