public class SolrPageRenameObserver extends AbstractLiveSolrObserver
Observer for observing page updates to synchronize associated Solr index._context, _resolver, _solrIndexer, _solrPageIndexerMAX_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, servicegetLogger, setLoggerpublic SolrPageRenameObserver()
public boolean supports(Event event)
Observerevent - the event.true for observing this event, false otherwise.protected void _updateIndex(Event event, Map<String,Object> transientVars) throws Exception
AbstractLiveSolrObserver_updateIndex in class AbstractLiveSolrObserverevent - the event.transientVars - the transient vars passed from one Observer to another when processing a single Event.Exception - if an error occurs.