The following are key properties of the atg.endeca.index.schema.SchemaExporter class and the default configuration of the /atg/endeca/index/commerce/SchemaExporter component of this class:

indexingOutputConfig

The component of class atg.endeca.index.EndecaIndexingOutputConfig whose definition file should be used for generating schema records. Set by default to:

indexingOutputConfig=/atg/commerce/search/ProductCatalogOutputConfig
documentSubmitter

The component (typically of class atg.endeca.index.RecordStoreDocumentSubmitter) to use to submit records to the CAS schema record store. (See Document Submitter Components for more information.) Set by default to:

documentSubmitter=/atg/endeca/index/SchemaDocumentSubmitter
dimensionNameProviders

An array of components of a class that implements the atg.endeca.index.schema.DimensionNameProvider interface. SchemaExporter uses these components to create references from attribute names to dimension names.

By default, dimensionNameProviders is set to:

dimensionNameProviders+=RepositoryTypeDimensionExporter

When an indexing job is run, RepositoryTypeDimensionExporter outputs dimension value records for the item.type dimension from the product.type, sku.type, and other item-type attributes. When SchemaExporter outputs schema records, it checks with RepositoryTypeDimensionExporter to determine these associations, and outputs a schema record that creates references from these attribute names to the dimension name. For example:

<RECORD>
   <PROP NAME="attribute.name">
     <PVAL>item.type</PVAL>
   </PROP>
   <PROP NAME="attribute.source_name">
     <PVAL>product.type</PVAL>
     <PVAL>sku.type</PVAL>
     <PVAL>product.manufacturer.type</PVAL>
     <PVAL>allAncestors.type</PVAL>
   </PROP>
   <PROP NAME="attribute.display_name">
     <PVAL>item.type</PVAL>
   </PROP>
   <PROP NAME="attribute.property.data_type">
     <PVAL>string</PVAL>
   </PROP>
   <PROP NAME="attribute.type">
     <PVAL>dimension</PVAL>
   </PROP>
 </RECORD>

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

Legal Notices