The atg.endeca.index.dimension.RepositoryTypeHierarchyExporter class creates Endeca dimension value records from the hierarchy of repository item types in the product catalog, and submits those records to the CAS dimension values record store. This dimension is not typically displayed on a site, but can be used in determining which other dimensions to display. For example, Commerce Reference Store has a furniture-sku subtype that includes a woodFinish property that can be used as an Endeca dimension. A site can include logic to detect whether the items returned from a search are of type furniture-sku, and display the woodFinish dimension if they are.

The ATG-Endeca integration includes a component of class RepositoryTypeHierarchyExporter, /atg/commerce/endeca/index/RepositoryTypeDimensionExporter, that is configured to work with the ProductCatalogOutputConfig component. The RepositoryTypeDimensionExporter component outputs dimension value records for all of the repository item types referred to in the ProductCatalogOutputConfig definition file, as well as the ancestors and descendants of those item types. RepositoryTypeDimensionExporter does not create records for any item types that are not part of the hierarchy mentioned in the definition file.

The following example shows a record produced by the RepositoryTypeDimensionExporter component for the product item type:

<RECORD>
  <PROP NAME="dimval.dimension_spec">
    <PVAL>item.type</PVAL>
  </PROP>
  <PROP NAME="dimval.display_name">
    <PVAL>Product</PVAL>
  </PROP>
  <PROP NAME="dimval.qualified_spec">
    <PVAL>item.type:product</PVAL>
  </PROP>
  <PROP NAME="dimval.spec">
    <PVAL>product</PVAL>
  </PROP>
  <PROP NAME="dimval.parent_spec">
    <PVAL>item.type</PVAL>
  </PROP>
</RECORD>

Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices