mirror of https://github.com/apache/lucene.git
SOLR-10920: _default configset warning should not appear when using -n with create_collection
This commit is contained in:
parent
924b3fd472
commit
9601ea9d4b
|
@ -978,7 +978,7 @@ if [[ "$SCRIPT_CMD" == "create" || "$SCRIPT_CMD" == "create_core" || "$SCRIPT_CM
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$CREATE_CONFDIR" == "_default" ]; then
|
||||
if [[ "$CREATE_CONFDIR" == "_default" ]] && ([[ "$CREATE_CONFNAME" == "" ]] || [[ "$CREATE_CONFNAME" == "_default" ]]); then
|
||||
echo "WARNING: Using _default configset. Data driven schema functionality is enabled by default, which is"
|
||||
echo " NOT RECOMMENDED for production use."
|
||||
echo
|
||||
|
|
Loading…
Reference in New Issue