Timo Gurr created SOLR-18088:
--------------------------------

             Summary: Add option to be able to configure SOLR_MODE like for 
other parameters
                 Key: SOLR-18088
                 URL: https://issues.apache.org/jira/browse/SOLR-18088
             Project: Solr
          Issue Type: Bug
    Affects Versions: 9.10.1
            Reporter: Timo Gurr


Recen solr versions started to warn about:
 * Solr will start in SolrCloud mode by default in version 10, and you will 
have to provide --user-managed if you want to stay on the user-managed (aka. 
standalone) mode.

However currently there appears to be no convenient way to set this like for 
other important settings in the respective configuration file via solr.in.sh 
(and solr.in.cmd).

New versions will set SOLR_MODE="solrcloud" by default: 
[https://github.com/apache/solr/blob/main/solr/bin/solr#L682]

Manually adding a line with
{code:java}
SOLR_MODE="user-managed"{code}
 to /etc/default/solr.in.sh appears to work as intended.

So my request is to add a configuration section for SOLR_MODE to solr.in.sh 
(and solr.in.cmd) like there is for other imporant configuration parameters.

Not having such a conveniently configurable parameter already leads to projects 
having to add that hard-code it manually where everything else imporant is 
easily configurable, see for example vufind: 
https://github.com/vufind-org/vufind/commit/3d7ec03a01f8480a0e4ca9d1db737fffcf242e96



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to