lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
Subject [jira] [Commented] (SOLR-7850) Move user customization out of* scripts
Date Mon, 24 Aug 2015 12:03:46 GMT


Jan Høydahl commented on SOLR-7850:

I think this discussion should merge with SOLR-7871 (Platform independent config file instead
of and

The steps of development could then be
# Move logic from bin/solr to (SOLR-7043)
# Support new platform independent start config (SOLR-7871) (while keeping support for current
include scripts)
# Deprecate old{sh|cmd} in next major release

The new config file should ship as a template only as you suggest, and if not found there
will be good defaults.

> Move user customization out of* scripts
> ------------------------------------------------
>                 Key: SOLR-7850
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: scripts and tools
>    Affects Versions: 5.2.1
>            Reporter: Shawn Heisey
>            Priority: Minor
> I've seen a fair number of users customizing* scripts to make changes to their
Solr installs.  I think the documentation suggests this, though I haven't confirmed.
> One possible problem with this is that we might make changes in those scripts which such
a user would want in their setup, but if they replace the script with the one in the new version,
they will lose their customizations.
> I propose instead that we have the startup script look for and utilize a user customization
script, in a similar manner to linux init scripts that look for /etc/default/packagename,
but are able to function without it.  I'm not entirely sure where the script should live or
what it should be called.  One idea is server/etc/userconfig.\{sh,cmd\} ... but I haven't
put a lot of thought into it yet.
> If the internal behavior of our scripts is largely replaced by a small java app as detailed
in SOLR-7043, then the same thing should apply there -- have a config file for a user to specify
settings, but work perfectly if that config file is absent.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message