[ 
https://issues.apache.org/jira/browse/SOLR-6697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Høydahl updated SOLR-6697:
------------------------------
    Attachment: SOLR-6697.patch

First patch. Tested on OSX. This patch adds a commented section to 
{{solr.in.*}} setting the env var {{SOLR_OPTS}}, which is then picked up in the 
start scripts and added to the start options. It will not conflict with options 
added with the {{-a}} argument.

> bin/solr start script should allow setting ADDITIONAL_CMD_OPTS in solr.in.*
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-6697
>                 URL: https://issues.apache.org/jira/browse/SOLR-6697
>             Project: Solr
>          Issue Type: Improvement
>          Components: scripts and tools
>    Affects Versions: 4.10.2
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>         Attachments: SOLR-6697.patch
>
>
> It is possible to set {{ADDITIONAL_CMD_OPTS}} in e.g. {{solr.in.sh}}, but it 
> should be documented by comments.
> Also, if you have set this in solr.in.sh, and then start with {{-a "some 
> params"}}, these will overwrite the ADDITIONAL_CMD_OPTS set in the solr.in 
> file. More logical would be for them to be appended.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to