Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16757 Umbrella Ticket for Revamping Solr CLI's for the Future
  3. SOLR-17318

bin/solr version should take a -z or -s and return actual version.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • cli
    • None

    Description

      Sourced from https://github.com/apache/solr/pull/1768#issuecomment-2142193420

      Now that bin/solr supports a remote Solr cluster with --solr-url. We currently support solr version which prints the version from SolrVersion.java, i.e. the client version. However, if you run the tool towards a remote solr with a different version, you won't see that.

      So I wonder if solr --version should be the tool version, but solr version --solr-url http://foo.bar/solr/ should call the backend to ask for its version.

       

      Maybe have solr/version ALSO report the version of Solr the CLI was built with.

      Attachments

        Activity

          People

            Unassigned Unassigned
            epugh Eric Pugh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: