public class SolrWebWorkspaceIndexer extends SolrWorkspaceIndexer
| Modifier and Type | Field and Description |
|---|---|
protected AmetysObjectResolver |
_resolver
The Ametys object resolver.
|
protected SiteIndexer |
_siteIndexer
The site indexer.
|
protected SiteManager |
_siteManager
The site manager.
|
_context, _docProviderEP, _repository, _solrIndexer, _workspaceSelectorROLE| Constructor and Description |
|---|
SolrWebWorkspaceIndexer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doIndex(String workspaceName)
Index the given workspace.
|
protected void |
indexContentRoot(String workspaceName)
Index the out-of-site contents.
|
protected void |
indexPluginsContentRoot(String workspaceName)
Index the contents stored by plugins
|
protected void |
indexSharedResources(String workspaceName)
Index the shared resources.
|
void |
service(ServiceManager manager) |
contextualize, ensureCoreExists, ensureCoresExists, index, indexAdditionalDocuments, indexAllWorkspaces, reloadAclCachegetLogger, setLoggerprotected SiteManager _siteManager
protected SiteIndexer _siteIndexer
protected AmetysObjectResolver _resolver
public SolrWebWorkspaceIndexer()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class SolrWorkspaceIndexerServiceExceptionprotected void doIndex(String workspaceName) throws IndexingException
SolrWorkspaceIndexerdoIndex in class SolrWorkspaceIndexerworkspaceName - The workspace name.IndexingException - If an error occurs indexing the workspace.protected void indexContentRoot(String workspaceName) throws Exception
workspaceName - The workspace nameException - If an error occurs.protected void indexPluginsContentRoot(String workspaceName) throws Exception
workspaceName - The workspace nameException - If an error occurs.protected void indexSharedResources(String workspaceName) throws Exception
workspaceName - The workspace nameException - If an error occurs.