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, _solrClientProvider, _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,
SolrClient solrClient)
Index the out-of-site contents.
|
protected void |
indexPluginsContentRoot(String workspaceName,
SolrClient solrClient)
Index the contents stored by plugins
|
protected void |
indexSharedResources(String workspaceName,
SolrClient solrClient)
Index the shared resources.
|
void |
service(ServiceManager manager) |
contextualize, ensureCoreExists, ensureCoresExists, index, indexAdditionalDocuments, indexAllWorkspacesgetLogger, 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, SolrClient solrClient) throws Exception
workspaceName - The workspace namesolrClient - The solr client to useException - If an error occurs.protected void indexPluginsContentRoot(String workspaceName, SolrClient solrClient) throws Exception
workspaceName - The workspace namesolrClient - The solr client to useException - If an error occurs.protected void indexSharedResources(String workspaceName, SolrClient solrClient) throws Exception
workspaceName - The workspace namesolrClient - The solr client to useException - If an error occurs.