To enable specifying dynamic properties for indexing through attributes of the associated metadata items, you must first change the configuration of some of the indexing components. The Oracle Commerce Platform includes a subclass of the EndecaIndexingOutputConfig class, atg.endeca.index.DynamicEndecaIndexingOutputConfig. For repositories that support dynamic item types or properties, change the class of the corresponding EndecaIndexingOutputConfig components to the DynamicEndecaIndexingOutputConfig class:

$class=atg.endeca.index.DynamicEndecaIndexingOutputConfig

The Oracle Commerce Platform also includes a subclass of the SchemaExporter class, atg.endeca.index.schema.DynamicSchemaExporter. For each EndecaIndexingOutputConfig component whose class is set to DynamicEndecaIndexingOutputConfig, set the class of the corresponding SchemaExporter component to DynamicSchemaExporter:

$class=atg.endeca.index.schema.DynamicSchemaExporter

In addition, for repositories that support dynamic item types or properties, you should set the forceToBaselineOnChange property to true on associated components of the RepositoryTypeHierarchyExporter and DynamicSchemaExporter classes. These settings ensure that a baseline index is performed when you add or modify dynamic item types or properties. New dynamic item types and properties do not appear in the MDEX until a baseline index has been performed.


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