public class SolrOdfContentModifiedObserver extends SolrPageContentModifiedObserver
Observer
observes ODF content modification
in order to synchronize the solr index of referencing pagesModifier and Type | Field and Description |
---|---|
private OdfPageResolver |
_odfPageResolver |
_resolver, _siteIndexer, _solrIndexer, _solrPageIndexer
MAX_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, supports
getPriority
getLogger, setLogger
private OdfPageResolver _odfPageResolver
public SolrOdfContentModifiedObserver()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AbstractSolrObserver
ServiceException
protected void _updateIndexReferencingPages(String contentId, boolean recursively) throws Exception
AbstractSolrObserver
_updateIndexReferencingPages
in class AbstractSolrObserver
contentId
- The id of contentrecursively
- true to index recursively the subpagesAmetysRepositoryException
- If an error occurredException
- if an error occurred during indexing