public interface SiteDocumentProvider
Modifier and Type | Method and Description |
---|---|
void |
indexSiteDocuments(Site site,
SolrClient solrClient)
Add documents to the index.
|
void |
indexSitemapDocuments(Sitemap sitemap,
SolrClient solrClient)
Add documents to the index.
|
void indexSiteDocuments(Site site, SolrClient solrClient) throws Exception
site
- the site to index.solrClient
- The solr client to useException
- if an error occurs.void indexSitemapDocuments(Sitemap sitemap, SolrClient solrClient) throws Exception
sitemap
- the sitemap to index.solrClient
- The solr client to useException
- if an error occurs.