Interface SiteDocumentProvider


public interface SiteDocumentProvider
Additional indexed documents provider.
The goal is to provide documents which are not pages and needs to be indexed into order to be search.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    indexSiteDocuments(Site site, org.apache.solr.client.solrj.SolrClient solrClient)
    Add documents to the index.
    void
    indexSitemapDocuments(Sitemap sitemap, org.apache.solr.client.solrj.SolrClient solrClient)
    Add documents to the index.
  • Method Details

    • indexSiteDocuments

      void indexSiteDocuments(Site site, org.apache.solr.client.solrj.SolrClient solrClient) throws Exception
      Add documents to the index.
      Parameters:
      site - the site to index.
      solrClient - The solr client to use
      Throws:
      Exception - if an error occurs.
    • indexSitemapDocuments

      void indexSitemapDocuments(Sitemap sitemap, org.apache.solr.client.solrj.SolrClient solrClient) throws Exception
      Add documents to the index.
      Parameters:
      sitemap - the sitemap to index.
      solrClient - The solr client to use
      Throws:
      Exception - if an error occurs.