Package org.apache.solr.cli
Class CreateCollectionTool
- java.lang.Object
-
- org.apache.solr.cli.ToolBase
-
- org.apache.solr.cli.CreateCollectionTool
-
-
Constructor Summary
Constructors Constructor Description CreateCollectionTool()
CreateCollectionTool(PrintStream stdout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Defines the interface to a Solr tool that can be run from this command-line app.List<org.apache.commons.cli.Option>
getOptions()
protected void
runCloudTool(org.apache.solr.client.solrj.impl.CloudSolrClient cloudSolrClient, org.apache.commons.cli.CommandLine cli)
void
runImpl(org.apache.commons.cli.CommandLine cli)
-
Methods inherited from class org.apache.solr.cli.ToolBase
echo, echoIfVerbose, runTool
-
-
-
-
Constructor Detail
-
CreateCollectionTool
public CreateCollectionTool()
-
CreateCollectionTool
public CreateCollectionTool(PrintStream stdout)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:Tool
Defines the interface to a Solr tool that can be run from this command-line app.
-
getOptions
public List<org.apache.commons.cli.Option> getOptions()
-
runImpl
public void runImpl(org.apache.commons.cli.CommandLine cli) throws Exception
-
-