Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-17383 CLI: Resolve overlapping arguments
  3. SOLR-17480

CLI: Merge solr-data with data-home and resolve -t

    XMLWordPrintableJSON

Details

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

    Description

      The environment variable solr.data.home is set in bin/solr (Unix) via --data-home and in bin/solr.cmd (Windows) via --solr-data. This is an inconsistency and should be resolved by deprecating either option and go with only the extended name to avoid conflicts with single-letter name t (currently used for type).

      For this reason, the following changes are proposed:

      • deprecate (9.x) and remove (10.0) the option --solr-data/-t by replacing it with --data-home
      • deprecate (9.x) and remove (10.0) the option name -t that is used for --data-home

      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 - 10m
                10m