public static class SolrTestCaseHS.SolrInstance extends Object
Constructor and Description |
---|
SolrInstance(File homeDir,
String solrconfigFile,
String schemaFile) |
Modifier and Type | Method and 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 change
|
void |
start() |
void |
stop() |
void |
tearDown() |
public String getBaseDir()
public String getBaseURL()
public String getCollectionURL()
public String getShardURL()
public org.apache.solr.client.solrj.SolrClient getSolrJ()
public void setPort(int port)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.