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

bin/solr script should support a -s option to set the -Dsolr.solr.home property

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.10.2, 5.0
    • Component/s: scripts and tools
    • Labels:
      None

      Description

      The bin/solr script supports a -d parameter for specifying the directory containing the webapp, resources, etc, lib ... In most cases, these binaries are reusable (and will eventually be in a server directory SOLR-3619) even if you want to have multiple solr.solr.home directories on the same server. In other words, it is more common/better to do:

      bin/solr start -d server -s home1
      bin/solr start -d server -s home2
      

      than to do:

      bin/solr start -d server1
      bin/solr start -d server2
      

      Basically, the start script needs to support a -s option that allows you to share binaries but have different Solr home directories for running multiple Solr instances on the same host.

        Attachments

          Activity

            People

            • Assignee:
              thelabdude Timothy Potter
              Reporter:
              thelabdude Timothy Potter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: