Package org.apache.solr
Class SolrTestCaseHS.SolrInstance
- java.lang.Object
-
- org.apache.solr.SolrTestCaseHS.SolrInstance
-
- Enclosing class:
- SolrTestCaseHS
public static class SolrTestCaseHS.SolrInstance extends Object
-
-
Constructor Summary
Constructors Constructor Description SolrInstance(File homeDir, String solrconfigFile, String schemaFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyConfigFile(File dstRoot, String destCollection, String file)
void
createHome()
String
getBaseDir()
String
getBaseURL()
String
getCollectionURL()
String
getShardURL()
string appropriate for passing in shards param (i.e.org.apache.solr.client.solrj.SolrClient
getSolrJ()
void
setPort(int port)
If it needs to changevoid
start()
void
stop()
void
tearDown()
-
-
-
Method Detail
-
getBaseDir
public String getBaseDir()
-
getBaseURL
public String getBaseURL()
-
getCollectionURL
public String getCollectionURL()
-
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
-
-