You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Jan Høydahl (Jira)" <ji...@apache.org> on 2020/02/25 23:28:00 UTC

[jira] [Commented] (SOLR-14281) Make sharedLib configurable through SysProp

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

Jan Høydahl commented on SOLR-14281:
------------------------------------

See [GitHub Pull Request #1288|https://github.com/apache/lucene-solr/pull/1288] for proposal
 * adds the {{<str name="sharedLib">}} tag to solr.xml, defining {{solr.sharedLib}} as sysprop for sharedLib
 * {{SOLR_HOME/lib}} is now always attempted added to path, even if {{sharedLib}} is specified in solr.xml
 * {{sharedLib}} (and {{-Dsolr.sharedLib}}) now optionally supports comma separated list of paths
 * adds commented out example in {{solr.in.sh and solr.in.cmd}} of how to set the sysProp
 * Documented in JavaDoc, solr.in.xx and RefGuide
 * Brought ref-guide {{format-of-solr-xml.adoc}} in sync with current default solr.xml and documented shardsWhitelist
 * Added tests

Example:
{code:java}
bin/solr start -Dsolr.sharedLib=/path/A,/path/B,C{code}
The above example cmdline will have Solr looking for libs in SOLR_HOME/lib, /path/A, /path/B and SOLR_HOME/C

> Make sharedLib configurable through SysProp
> -------------------------------------------
>
>                 Key: SOLR-14281
>                 URL: https://issues.apache.org/jira/browse/SOLR-14281
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Jan Høydahl
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> solr.xml has support for configuring a {{sharedLib}} location for where to look for shared jar files. But there is currenlty no way to change that location through {{solr.in.sh}} or through SysProp without first editing solr.xml.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org