public class SolrOdfContentModifiedObserver extends SolrPageContentModifiedObserver
Observer observes ODF content modification
in order to synchronize the solr index of referencing pages| Modifier and Type | Field and Description |
|---|---|
private OdfPageResolver |
_odfPageResolver |
_resolver, _siteIndexer, _solrIndexer, _solrPageIndexerMAX_PRIORITY, MIN_PRIORITY| Constructor and Description |
|---|
SolrOdfContentModifiedObserver() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_updateIndexReferencingPages(String contentId,
boolean recursively)
Update index of all pages referencing the content for all workspaces if exists
|
void |
service(ServiceManager manager) |
observe, supportsgetPrioritygetLogger, setLoggerprivate OdfPageResolver _odfPageResolver
public SolrOdfContentModifiedObserver()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class AbstractSolrObserverServiceExceptionprotected void _updateIndexReferencingPages(String contentId, boolean recursively) throws Exception
AbstractSolrObserver_updateIndexReferencingPages in class AbstractSolrObservercontentId - The id of contentrecursively - true to index recursively the subpagesAmetysRepositoryException - If an error occurredException - if an error occurred during indexing