Class EmbeddedSolrServerTestBase


  • public abstract class EmbeddedSolrServerTestBase
    extends SolrTestCaseJ4
    • Field Detail

      • client

        public static org.apache.solr.client.solrj.embedded.EmbeddedSolrServer client
    • Constructor Detail

      • EmbeddedSolrServerTestBase

        public EmbeddedSolrServerTestBase()
    • Method Detail

      • afterEmbeddedSolrServerTestBase

        public static void afterEmbeddedSolrServerTestBase()
                                                    throws Exception
        Throws:
        Exception
      • getSolrClient

        public org.apache.solr.client.solrj.embedded.EmbeddedSolrServer getSolrClient()
      • createNewSolrClient

        public org.apache.solr.client.solrj.embedded.EmbeddedSolrServer createNewSolrClient()
        Create a new solr client. Subclasses should override for other options.
      • upload

        public void upload​(String collection,
                           org.apache.solr.common.util.ContentStream... contents)
      • download

        public Collection<org.apache.solr.common.util.ContentStream> download​(String collection,
                                                                              String... names)