Class SolrServerService

java.lang.Object
fr.paris.lutece.plugins.search.solr.business.SolrServerService

@ApplicationScoped public class SolrServerService extends Object
This service provides an instance of SolrServer.
  • Constructor Details

    • SolrServerService

      public SolrServerService()
  • Method Details

    • getInstance

      @Deprecated public static SolrServerService getInstance()
      Deprecated.
      This service is now a CDI bean. Prefer dependency injection (@Inject SolrServerService) instead of this static accessor. It is kept only for callers living in a non-CDI (static) context.
      Returns the CDI-managed instance.
      Returns:
      the instance.
    • getSolrServer

      public org.apache.solr.client.solrj.SolrClient getSolrServer()
      Returns the SolrServer.
      Returns:
      the SolrServer