The atg.endeca.index.schema.SchemaExporter class is responsible for generating schema records and submitting them to the Endeca schema record store. The /atg/commerce/endeca/index/SchemaExporter component of this class examines the ProductCatalogOutputConfig definition file and generates a schema record for each ATG property that is output. The schema record indicates whether the ATG property should be treated as a property or a dimension by Oracle Endeca Commerce, whether it should be searchable, and the data type of the property or dimension.

For example, the following is an XML representation of a schema record for the product.description property, which identifies it as a searchable Endeca property whose data type is string:

<RECORD>
  <PROP NAME="attribute.name">
    <PVAL>product.description</PVAL>
  </PROP>
  <PROP NAME="attribute.source_name">
    <PVAL>product.description</PVAL>
  </PROP>
  <PROP NAME="attribute.display_name">
    <PVAL>Product Description</PVAL>
  </PROP>
  <PROP NAME="attribute.property.data_type">
    <PVAL>string</PVAL>
  </PROP>
  <PROP NAME="attribute.type">
    <PVAL>property</PVAL>
  </PROP>
  <PROP NAME="attribute.search.searchable">
    <PVAL>true</PVAL>
  </PROP>
</RECORD>

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