Interface SolrClientFactory


public interface SolrClientFactory
Interface implemented by factory classes used to create new SolrClient instances.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.solr.client.solrj.SolrClient
    Requests the creation of a new SolrClient for a specific Solr core name.
  • Method Details

    • newClient

      org.apache.solr.client.solrj.SolrClient newClient(String core)
      Requests the creation of a new SolrClient for a specific Solr core name.
      Parameters:
      core - the name of the Solr core to create to create a client for
      Returns:
      the newly created SolrClient
      Throws:
      IllegalArgumentException - if core is null