lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-7871) Platform independent config file instead of solr.in.sh and solr.in.cmd
Date Fri, 01 Jul 2016 17:29:11 GMT

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

Upayavira commented on SOLR-7871:
---------------------------------

If you make this look both in your config file, and also in environment variables, you will
be able to take the functionality out of bin/solr, but maintain backwards compatibility. Also,
I suspect that more and more applications will be expecting to be configured with environment
variables given that is how Docker apps expect to be configured, so having both capabilities
is valuable.

> Platform independent config file instead of solr.in.sh and solr.in.cmd
> ----------------------------------------------------------------------
>
>                 Key: SOLR-7871
>                 URL: https://issues.apache.org/jira/browse/SOLR-7871
>             Project: Solr
>          Issue Type: Improvement
>          Components: scripts and tools
>    Affects Versions: 5.2.1
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: bin/solr
>             Fix For: 6.0
>
>         Attachments: SOLR-7871.patch
>
>
> Spinoff from SOLR-7043
> The config files {{solr.in.sh}} and {{solr.in.cmd}} are currently executable batch files,
but all they do is to set environment variables for the start scripts on the format {{key=value}}
> Suggest to instead have one central platform independent config file e.g. {{bin/solr.yml}}
or {{bin/solrstart.properties}} which is parsed by {{SolrCLI.java}}.



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

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


Mime
View raw message