[ 
https://issues.apache.org/jira/browse/SOLR-2722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13103621#comment-13103621
 ] 

Mark Miller commented on SOLR-2722:
-----------------------------------

After discussing again with Hossman some time back, I'm going to just put 
${jetty.port} as the default value in Solr.xml I think.

> If hostPort is not specified, we should just look for jetty.port - and if 
> that is not found, fall back to the default of 8983.
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2722
>                 URL: https://issues.apache.org/jira/browse/SOLR-2722
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Trivial
>             Fix For: 4.0
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to