Solr
  1. Solr
  2. SOLR-7961

Add version command to bin/solr start script

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Trivial 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
          Jan Høydahl added a comment -

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

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

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

          Show
          Jan Høydahl added a comment - Manually tested both on OSX and Windows 8.1. Committing tomorrow.
          Hide
          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
          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
          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
          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)

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development