Class SolrServerService
java.lang.Object
fr.paris.lutece.plugins.search.solr.business.SolrServerService
This service provides an instance of SolrServer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SolrServerServiceDeprecated.This service is now a CDI bean.org.apache.solr.client.solrj.SolrClientReturns the SolrServer.
-
Constructor Details
-
SolrServerService
public SolrServerService()
-
-
Method Details
-
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
-