The following
diagram illustrates the changes that you must make to
assembler-context.xml and
index-config.json to configure an aggregated record:
To configure an aggregated record, follow these steps:
In the
defaultFilterStatecomponent ofassembler-context.xml, specify the name of the record property that will serve as the rollup key. All records that have the same value for their rollup key property will be members of this aggregated record.You can specify only one rollup key per application. A version of
assembler-context.xmlis provided with the Discover Electronics reference application in the folderC:\Endeca\ToolsAndFrameworks\11.2.0\reference\discover-electronics\WEB-INF.Note
If no rollup key property is configured, properties of the member records are returned with the aggregated record, rather than with the member records to which the properties belong.
A record property that will serve as the rollup key. The name of this property must be the rollup key name specified in
assembler-context.xml(here,product.code). The definition of the rollup key property must include the parameter"isRollupKey" : true.
For information about how to configure relevance ranking for aggregated records, refer to the Oracle Commerce Guided Search MDEX Engine Developer's Guide.


