mirror of https://github.com/apache/lucene.git
SOLR-12481: update.autoCreateFields must be set via Config API command 'set-user-property', but 'bin/solr create' tells users to use the default action 'set-property', which fails because the property is not editable
This commit is contained in:
parent
3d8b219273
commit
ca35c40f1b
|
@ -81,6 +81,10 @@ Bug Fixes
|
||||||
|
|
||||||
* SOLR-12434: bin/solr {config,healthcheck} ignore ZK_HOST in solr.in.{sh,cmd} (Steve Rowe)
|
* SOLR-12434: bin/solr {config,healthcheck} ignore ZK_HOST in solr.in.{sh,cmd} (Steve Rowe)
|
||||||
|
|
||||||
|
* SOLR-12481: update.autoCreateFields must be set via Config API command 'set-user-property',
|
||||||
|
but 'bin/solr create' tells users to use the default action 'set-property', which fails
|
||||||
|
because the property is not editable. (Steve Rowe)
|
||||||
|
|
||||||
Optimizations
|
Optimizations
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -1065,7 +1065,7 @@ if [[ "$SCRIPT_CMD" == "create" || "$SCRIPT_CMD" == "create_core" || "$SCRIPT_CM
|
||||||
|
|
||||||
if [[ "$CREATE_CONFDIR" == "_default" ]] && ([[ "$CREATE_CONFNAME" == "" ]] || [[ "$CREATE_CONFNAME" == "_default" ]]); then
|
if [[ "$CREATE_CONFDIR" == "_default" ]] && ([[ "$CREATE_CONFNAME" == "" ]] || [[ "$CREATE_CONFNAME" == "_default" ]]); then
|
||||||
echo "WARNING: Using _default configset with data driven schema functionality. NOT RECOMMENDED for production use."
|
echo "WARNING: Using _default configset with data driven schema functionality. NOT RECOMMENDED for production use."
|
||||||
echo " To turn off: bin/solr config -c $CREATE_NAME -p $CREATE_PORT -property update.autoCreateFields -value false"
|
echo " To turn off: bin/solr config -c $CREATE_NAME -p $CREATE_PORT -action set-user-property -property update.autoCreateFields -value false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$(whoami)" == "root" ]] && [[ "$FORCE" == "false" ]] ; then
|
if [[ "$(whoami)" == "root" ]] && [[ "$FORCE" == "false" ]] ; then
|
||||||
|
|
|
@ -1548,7 +1548,7 @@ if "!CREATE_PORT!"=="" (
|
||||||
|
|
||||||
if "!CREATE_CONFDIR!"=="_default" (
|
if "!CREATE_CONFDIR!"=="_default" (
|
||||||
echo WARNING: Using _default configset with data driven schema functionality. NOT RECOMMENDED for production use.
|
echo WARNING: Using _default configset with data driven schema functionality. NOT RECOMMENDED for production use.
|
||||||
echo To turn off: bin\solr config -c !CREATE_NAME! -p !CREATE_PORT! -property update.autoCreateFields -value false
|
echo To turn off: bin\solr config -c !CREATE_NAME! -p !CREATE_PORT! -action set-user-property -property update.autoCreateFields -value false
|
||||||
)
|
)
|
||||||
|
|
||||||
if "%SCRIPT_CMD%"=="create_core" (
|
if "%SCRIPT_CMD%"=="create_core" (
|
||||||
|
|
Loading…
Reference in New Issue