: I am loading devices and accessories in solr index. deviceType indicates if : its a device or accessory : : All other attributes are same for device and accessory. When query results : come back I would like to display someting like : : Devices : +Manucaturer (100) : - Samsung (50) : - Sharp (50) : Accessories : +Manufacturer(1000) : -Samsung (500) : -Apple(500) : : How would my query look like in this case?
what you are describing sounds like Pivot Faceting, which is currently under development... https://issues.apache.org/jira/browse/SOLR-792 ...the majority of it has been commited to the trunk, but the issue is still open as some of the kinks are worked out. -Hoss