Class SolrClient

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public abstract class SolrClient
    extends java.lang.Object
    implements java.io.Closeable
    • Constructor Detail

      • SolrClient

        public SolrClient​(Client client,
                          com.codahale.metrics.MetricRegistry metricRegistry)
    • Method Detail

      • getSearchAPI

        public abstract com.lucidworks.apollo.solr.client.SearchAPI getSearchAPI()
      • getSchemaAPI

        public abstract com.lucidworks.apollo.solr.client.SchemaAPI getSchemaAPI()
      • getInfoAPI

        public abstract com.lucidworks.apollo.solr.client.InfoAPI getInfoAPI()
      • getMBeanAPI

        public abstract com.lucidworks.apollo.solr.client.MBeanAPI getMBeanAPI()
      • getCoreAdminAPI

        public abstract com.lucidworks.apollo.solr.client.CoreAdminAPI getCoreAdminAPI()
      • getBaseUri

        public abstract java.lang.String getBaseUri​(boolean lb)
      • getPingAPI

        public abstract com.lucidworks.apollo.solr.client.PingAPI getPingAPI()
      • listCollections

        public abstract java.util.Collection<java.lang.String> listCollections()
                                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • collectionExists

        public boolean collectionExists​(java.lang.String collection)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getBaseUri

        public java.lang.String getBaseUri()
      • getJerseyClient

        public Client getJerseyClient()
      • isCloud

        public abstract boolean isCloud()