In some cases, your product catalog may contain multiple SKU items that are variations of the same product. For example, the same rubber boots may be available in different colors. To simplify the display of such product data in results lists, you can configure an aggregated record to represent the product in general, and member records of the aggregated record to represent the different SKU items.
To configure which properties of an aggregated record and of its
member records will be available to your front end application, edit the
resultsListDefaultConfig bean to list these
properties. List properties of aggregated records in the
fieldNames element and properties of member records in
the
subRecordFieldNames element:
<bean id="resultsListDefaultConfig" scope="prototype" class="com.endeca.infront.cartridge.ResultsListConfig">
<property name="fieldNames">
<list>
<value>product.id</value>
<value>product.code</value>
<value>product.name</value>
<value>product.brand.name</value> ...
</list>
</property>
<property name="subRecordFieldNames">
<list>
<value>product.price</value>
</list>
</property>
</bean> If you do not specify properties in the
fieldNames element or omit the element itself, all
properties are returned with the aggregated record.
If no rollup key is specified, all properties are returned.

