Posted by Nostrathomas on September 15, 2010 at 8:41pm
Can someone point me to the mechanism in Sol that might allow me to roll-up or aggregate records for display. We have many items that are similar and only want to show a representative record to the user until they select that record.
As an example – We carry a polo shirt and have 15 records that represent the individual colors for that shirt. Does the query API provide anyway to rollup the records passed on a property or do we need to just flatten the representation of the shirt in the data model.
Comments
You're looking for field collapsing
http://wiki.apache.org/solr/FieldCollapsing
But it's still in the works for a future version of Solr.