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 Details

    • getLabel

      The label of the document provider
      Returns:
      The label
    • indexSiteDocuments

      void indexSiteDocuments(Site site, org.apache.solr.client.solrj.SolrClient solrClient, ContainerProgressionTracker progressionTracker) throws Exception
      Add documents to the index.
      Parameters:
      site - the site to index.
      solrClient - The solr client to use
      progressionTracker - The progression tracker
      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.