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, _workspaceSelector
ROLE
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, index, indexAdditionalDocuments, indexAllWorkspaces
getLogger, setLogger
protected SiteManager _siteManager
protected SiteIndexer _siteIndexer
protected AmetysObjectResolver _resolver
public SolrWebWorkspaceIndexer()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class SolrWorkspaceIndexer
ServiceException
protected void doIndex(String workspaceName) throws IndexingException
SolrWorkspaceIndexer
doIndex
in class SolrWorkspaceIndexer
workspaceName
- 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.