If search data is loaded into the data warehouse after order data has been loaded, the order data in the data warehouse must be updated to associate purchased items with the search data. The order line items are updated to link them to the search terms, facet groups, and spotlight groups that customers used to navigate to those items.

To ensure that the search data and order data are linked properly, the search data loader modules include the /atg/reporting/datawarehouse/process/jobs/SearchMaintenanceService component, of class atg.reporting.datawarehouse.process.job.MaintenanceService. This service is responsible for executing jobs specified in its maintenanceJobs property. This property is an array of components that implement the atg.reporting.datawarehouse.process.job.MaintenanceJob interface. By default, it is set to:

maintenanceJobs=\
  /atg/reporting/datawarehouse/process/jobs/SearchLineItemMaintenanceJob

The SearchMaintenanceService component is registered with the SearchLoader component as a listener. SearchMaintenanceService detects when search data is loaded and invokes the SearchLineItemMaintenanceJob component to update the associated order data in the data warehouse.


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