The following steps describe how indexing is triggered when a deployment occurs:
The
IndexingDeploymentListenercomponent detects the event.The
IndexingDeploymentListenerexamines the event to see the list of repositories being deployed.The
IndexingDeploymentListenercompiles a list of theEndecaIndexingOutputConfigcomponents that are associated with any of those repositories.The
IndexingDeploymentListenerinvokes theLocalSynchronizationInvokercomponent.The
LocalSynchronizationInvokerlooks at the list ofEndecaIndexingOutputConfigcomponents and compiles a list ofSimpleIndexingAdmincomponents that are associated with any of theEndecaIndexingOutputConfigcomponents.The
LocalSynchronizationInvokertriggers an indexing job on eachSimpleIndexingAdmincomponent in the list.
Note that the lists of EndecaIndexingOutputConfig and SimpleIndexingAdmin components are not configured explicitly. Instead, the SimpleIndexingAdmin components are automatically registered with the LocalSynchronizationInvoker, and the EndecaIndexingOutputConfig components are automatically registered with the LocalSynchronizationInvoker and the IndexingDeploymentListener.

