Interface Solr


  • @Role
    public interface Solr
    The central entry point to access a Solr core.
    Since:
    12.2
    Version:
    $Id: 194e6902aac60749a0f2f00a004f09308132052f $
    • Method Detail

      • getClient

        org.apache.solr.client.solrj.SolrClient getClient​(String name)
                                                   throws SolrException
        Parameters:
        name - the name of the Solr core
        Returns:
        the cached SolrClient instance to use to manipulate the core
        Throws:
        SolrException - when failing to create the solr client