Have you looked at field collapsing? http://wiki.apache.org/solr/FieldCollapsing
You would collapse on the id and the when solr returns the results you could extract the facet label from solr document from each group. -- View this message in context: http://lucene.472066.n3.nabble.com/Store-complex-i-e-label-id-meta-data-in-SOLR-document-tp4064752p4065017.html Sent from the Solr - User mailing list archive at Nabble.com.