Class SolrTestCaseHS.SolrInstance

java.lang.Object
org.apache.solr.SolrTestCaseHS.SolrInstance
Enclosing class:
SolrTestCaseHS

public static class SolrTestCaseHS.SolrInstance extends Object
  • Constructor Details

    • SolrInstance

      public SolrInstance(Path homeDir, String solrconfigFile, String schemaFile)
  • Method Details

    • getBaseDir

      public String getBaseDir()
    • getBaseURL

      public String getBaseURL()
    • getShardURL

      public String getShardURL()
      string appropriate for passing in shards param (i.e. missing http://)
    • getSolrJ

      public org.apache.solr.client.solrj.SolrClient getSolrJ()
    • setPort

      public void setPort(int port)
      If it needs to change
    • createHome

      public void createHome() throws Exception
      Throws:
      Exception
    • start

      public void start() throws Exception
      Throws:
      Exception
    • stop

      public void stop() throws Exception
      Throws:
      Exception
    • tearDown

      public void tearDown() throws Exception
      Throws:
      Exception