By default, the IncrementalLoader determines which changes necessitate updates by monitoring the properties specified in the XML definition file. In some cases, however, the properties you want to monitor are not necessarily the ones that you want to output. This is especially the case if you are outputting derived properties, because these properties do not have values of their own.

For example, suppose you are indexing a user item type that has firstName and lastName properties, plus a fullName derived property whose value is formed by concatenating the values of firstName and lastName. You might want to output the fullName property, but to detect when the value of this property changes, you need to monitor (but not necessarily output) firstName and lastName.

You can do this by including a monitor element in your definition file to specify properties that should be monitored but not output. For example:

  <property name="fullName" text-searchable="true"/>
  <property name="firstName"/>
  <property name="lastName"/>

For information about derived properties, see the ATG Repository Guide.

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

Legal Notices