public interface SiteIndexer
Site
.Modifier and Type | Method and Description |
---|---|
void |
indexSite(Site site)
Index a site in all workspaces
|
void |
indexSite(String siteName)
Index a site in all workspaces
|
void |
indexSite(String siteName,
String workspaceName)
Index a site in a specific workspace.
|
void |
indexSite(String siteName,
String workspaceName,
SolrClient solrClient)
Index a site in a specific workspace.
|
void |
indexSitemap(Sitemap sitemap)
Index a sitemap in all workpaces
|
void |
indexSitemap(String siteName,
String sitemapName)
Index a sitemap in all workpaces
|
void |
indexSitemap(String siteName,
String sitemapName,
String workspaceName)
Index a sitemap in a specific workspace.
|
void |
unindexSite(String siteName)
Unindex a site in all workspaces
|
void |
unindexSite(String siteName,
String workspaceName)
Unindex a site in a specific workspace.
|
void |
unindexSitemap(String siteName,
String sitemapName)
Unindex a sitemap in all workpaces
|
void |
unindexSitemap(String siteName,
String sitemapName,
String workspaceName)
Unindex a sitemap in a specific workspace.
|
void indexSite(Site site) throws IndexingException
site
- the site to index.IndexingException
- If an error occurs while indexing the site.void indexSite(String siteName) throws IndexingException
siteName
- the name of the site to index.IndexingException
- If an error occurs while indexing the site.void indexSite(String siteName, String workspaceName) throws IndexingException
siteName
- the name of the site to index.workspaceName
- The workspace name.IndexingException
- If an error occurs while indexing the site.void indexSite(String siteName, String workspaceName, SolrClient solrClient) throws IndexingException
siteName
- the name of the site to index.workspaceName
- The workspace name.solrClient
- The solr client to useIndexingException
- If an error occurs while indexing the site.void indexSitemap(Sitemap sitemap) throws IndexingException
sitemap
- the sitemap to index.IndexingException
- If an error occurs while indexing the sitemap.void indexSitemap(String siteName, String sitemapName) throws IndexingException
siteName
- the site name.sitemapName
- the name of the sitemap to index.IndexingException
- If an error occurs while indexing the sitemap.void indexSitemap(String siteName, String sitemapName, String workspaceName) throws IndexingException
siteName
- the site name.sitemapName
- the name of the sitemap to index.workspaceName
- The workspace name.IndexingException
- If an error occurs while indexing the sitemap.void unindexSite(String siteName, String workspaceName) throws IndexingException
siteName
- the name of site to unindex.workspaceName
- The workspace name.IndexingException
- If an error occurs while unindexing the site.void unindexSite(String siteName) throws IndexingException
siteName
- the name of site to unindex.IndexingException
- If an error occurs while unindexing the site.void unindexSitemap(String siteName, String sitemapName) throws IndexingException
siteName
- the site name.sitemapName
- the name of the sitemap to index.IndexingException
- If an error occurs while unindexing the sitemap.void unindexSitemap(String siteName, String sitemapName, String workspaceName) throws IndexingException
siteName
- the site name.sitemapName
- the name of the sitemap to index.workspaceName
- The workspace name.IndexingException
- If an error occurs while unindexing the sitemap.