Class SolrCLI.CreateCollectionTool

  • All Implemented Interfaces:
    SolrCLI.Tool
    Enclosing class:
    SolrCLI

    public static class SolrCLI.CreateCollectionTool
    extends SolrCLI.ToolBase
    Supports create_collection command in the bin/solr script.
    • Constructor Detail

      • CreateCollectionTool

        public CreateCollectionTool()
      • CreateCollectionTool

        public CreateCollectionTool​(PrintStream stdout)
    • Method Detail

      • getName

        public String getName()
      • getOptions

        public org.apache.commons.cli.Option[] getOptions()
      • optionAsInt

        protected int optionAsInt​(org.apache.commons.cli.CommandLine cli,
                                  String option,
                                  int defaultVal)