Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7961

Add version command to bin/solr start script

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4
    • Component/s: scripts and tools
    • Labels:
      None

      Description

      It would be nice to be able to tell which version of Solr you have. You can get it with the status command today, but only if Solr is already running. Proposal:

      $ bin/solr -version
      5.3.0
      
      1. SOLR-7961.patch
        4 kB
        Jan Høydahl

        Issue Links

          Activity

          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 1697910 from janhoy@apache.org in branch 'dev/branches/branch_5x'
          [ https://svn.apache.org/r1697910 ]

          SOLR-7961: Add version command to bin/solr start script. Also adds -h for help (backport)

          Show
          jira-bot ASF subversion and git services added a comment - Commit 1697910 from janhoy@apache.org in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1697910 ] SOLR-7961 : Add version command to bin/solr start script. Also adds -h for help (backport)
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 1697904 from janhoy@apache.org in branch 'dev/trunk'
          [ https://svn.apache.org/r1697904 ]

          SOLR-7961: Add version command to bin/solr start script. Also adds -h for help

          Show
          jira-bot ASF subversion and git services added a comment - Commit 1697904 from janhoy@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1697904 ] SOLR-7961 : Add version command to bin/solr start script. Also adds -h for help
          Hide
          janhoy Jan Høydahl added a comment -

          Manually tested both on OSX and Windows 8.1. Committing tomorrow.

          Show
          janhoy Jan Høydahl added a comment - Manually tested both on OSX and Windows 8.1. Committing tomorrow.
          Hide
          janhoy Jan Høydahl added a comment -

          Patch adding -version command (also incorporates SOLR-7960)

          Show
          janhoy Jan Høydahl added a comment - Patch adding -version command (also incorporates SOLR-7960 )

            People

            • Assignee:
              janhoy Jan Høydahl
              Reporter:
              janhoy Jan Høydahl
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development