[
https://issues.apache.org/jira/browse/SOLR-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cassandra Targett closed SOLR-4077.
-----------------------------------
Resolution: Won't Fix
Fix Version/s: (was: 6.0)
(was: 4.9)
Closing based on Shalin's comment from 2 years ago that we were unlikely to
implement this feature.
> Solr params like zkHost are not consistently settable via JNDI - many only
> via system properties
> ------------------------------------------------------------------------------------------------
>
> Key: SOLR-4077
> URL: https://issues.apache.org/jira/browse/SOLR-4077
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Reporter: Peter Wolanin
>
> The Solr home can be set via JNDI environment, and in general system
> properties should be used for configuring the container, not the application,
> since the container may run several web apps.
> Let's add a helper method to something like SolrResourceLoader.java to look
> up values like zkHost (to find the zookeepers) or hostPort that can currently
> be in solr.xml OR in a system property, but not in e.g. a tomcat context file.
> The helper would avoid then need to write code to try both options as
> currently exists in locateSolrHome()
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]