Class SolrStatisticsCore

java.lang.Object
org.dspace.statistics.SolrStatisticsCore

public class SolrStatisticsCore extends Object
Bean containing the SolrClient for the statistics core
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.solr.client.solrj.SolrClient
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.solr.client.solrj.SolrClient
    Returns the SolrClient for the Statistics core.
    protected void
    Initializes the statistics SolrClient.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • solr

      protected org.apache.solr.client.solrj.SolrClient solr
  • Constructor Details

    • SolrStatisticsCore

      public SolrStatisticsCore()
  • Method Details

    • getSolr

      public org.apache.solr.client.solrj.SolrClient getSolr()
      Returns the SolrClient for the Statistics core. Initializes it if needed.
      Returns:
      The SolrClient for the Statistics core
    • initSolr

      protected void initSolr()
      Initializes the statistics SolrClient.