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

In solr.xml, default hostPort to ${jetty.port}

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • SolrCloud
    • None

    Description

      Originally we didn't rely on jetty.port as it's container specific - but rather than require you specify the port twice in this case, we should simply use jetty.port when it's there.

      The example from the SolrCloud wiki:
      java -Djetty.port=7574 -DhostPort=7574 -DzkHost=localhost:9983 -jar start.jar

      instead becomes:
      java -Djetty.port=7574 -DzkHost=localhost:9983 -jar start.jar

      We should also look at simply specifying the shard name in this example case (see the solrwiki examples) by system property rather than asking the user to edit solr.xml.

      Attachments

        Issue Links

          Activity

            People

              markrmiller@gmail.com Mark Miller
              markrmiller@gmail.com Mark Miller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: