When you create an IndexingOutputConfig
component, you set the following properties:
definitionFile
The full Nucleus pathname of the XML indexing definition file that configures the repository item types and properties to include in the XHTML documents. See Definition File Format for information about how to create the definition file.
repository
The full Nucleus pathname of the repository that the definition file applies to.
For example, the ProductCatalogOutputConfig
component has these settings:
definitionFile=/atg/commerce/search/product-catalog-output-config.xml
repository=/atg/commerce/catalog/ProductCatalog
It is also possible to specify the repository in the indexing definition file using the repository-path
attribute of the top-level item
element. If the repository is specified in the definition file and also set by the component’s repository
property, the value set by the repository
property overrides the value set in the definition file.
Note that in an ATG Content Administration environment, the repository should not be set to a versioned repository. Instead, it should be set to the corresponding unversioned target repository. For example, an IndexingOutputConfig
component for a product catalog in an ATG Content Administration environment could be set to:
repository=/atg/commerce/catalog/ProductCatalog_production
For more information about specifying repositories in an ATG Content Administration environment, see the ATG Search Installation and Configuration Guide.