public class SolrPageRenameObserver extends AbstractLiveSolrObserver
Observer
for observing page updates to synchronize associated Solr index._context, _resolver, _solrIndexer, _solrPageIndexer
MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
SolrPageRenameObserver() |
Modifier and Type | Method and Description |
---|---|
private Page |
_getPage(Event event) |
protected void |
_updateIndex(Event event,
Map<String,Object> transientVars)
Update the index from the event observed.
|
boolean |
supports(Event event)
Checks if the event is supported.
|
_deletePageDocumentsForContent, _getPageInLive, _updatePageDocument, _updatePageDocument, _updatePageDocumentsForContent, contextualize, getPriority, observe, service
getLogger, setLogger
public SolrPageRenameObserver()
public boolean supports(Event event)
Observer
event
- the event.true
for observing this event, false
otherwise.protected void _updateIndex(Event event, Map<String,Object> transientVars) throws Exception
AbstractLiveSolrObserver
_updateIndex
in class AbstractLiveSolrObserver
event
- the event.transientVars
- the transient vars passed from one Observer to another when processing a single Event.Exception
- if an error occurs.