public class SolrOnSiteConfModifiedPart1Observer extends AbstractSolrOnSiteConfModifiedObserver
Observer
for observing site configuration modification
in order to unindex the given Solr pages_resolver, _siteIndexer, _solrIndexer, _solrPageIndexer
MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
SolrOnSiteConfModifiedPart1Observer() |
Modifier and Type | Method and Description |
---|---|
protected void |
_updateIndex(Page odfRootPage)
Update the index from the observed event.
|
int |
getPriority(Event event)
Retrieves the priority to observe this event.
This can be used to process a supported event before others observers. |
observe, service, supports
_updateIndexReferencingPages
getLogger, setLogger
public SolrOnSiteConfModifiedPart1Observer()
public int getPriority(Event event)
Observer
getPriority
in interface Observer
getPriority
in class AbstractSolrObserver
event
- the event.protected void _updateIndex(Page odfRootPage) throws Exception
AbstractSolrOnSiteConfModifiedObserver
_updateIndex
in class AbstractSolrOnSiteConfModifiedObserver
odfRootPage
- the odf root pageException
- if an error occurs.