Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 9.7, 9.6.1
    • 9.8
    • cli

    Description

      The CLI flag -d is currently used in four options:

      • conf-dir for providing the configuration directory in CreateTool, ConfigSetDownloadTool, ConfigSetUploadTool, ZKCLI
      • delete-config (with argument) for deleting configurations together with collections in DeleteTool, defualts to true
      • server-dir for defining the Solr root / server directory in RunExampleTool
      • delay for delaying recursive posts in PostTool

      Proposed Resolution

      In order to avoid confusion of the -d flag, the following changes are proposed:

      • keep -d for conf-dir in CreateTool, ConfigSetDownloadTool, ConfigSetUploadTool, ZKCLI
      • Deprecated (9.8) and remove (10.0) the delete-config option by replacing it with keep (--keep without arguments) for simplifying and improving user experience and avoid conflict of -d. "--keep" should behave equivalent to "--delete-config false".
      • Deprecate (9.8) and remove (10.0) -d for server-dir in RunExmapleTool. Note that --server-dir may be removed or renamed to use better wording in the future.
      • Support --server-dir in bin/solr and if necessary bin/solr.cmd in version 9.8 and 10.0
      • Deprecate (9.8) and remove (10.0) -d for delay in PostTool to avoid any confusion with conf-dir.

      Attachments

        Activity

          People

            epugh Eric Pugh
            malliaridis Christos Malliaridis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 40m
                1h 40m