lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject lucene-solr:branch_7_4: 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
Date Wed, 13 Jun 2018 19:09:54 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7_4 08b28c621 -> 91aa6b7d0


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


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/91aa6b7d
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/91aa6b7d
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/91aa6b7d

Branch: refs/heads/branch_7_4
Commit: 91aa6b7d0a81860c7b540a38058ed631b8255017
Parents: 08b28c6
Author: Steve Rowe <sarowe@apache.org>
Authored: Tue Jun 12 21:50:25 2018 -0400
Committer: Steve Rowe <sarowe@apache.org>
Committed: Wed Jun 13 15:09:32 2018 -0400

----------------------------------------------------------------------
 solr/CHANGES.txt  | 4 ++++
 solr/bin/solr     | 2 +-
 solr/bin/solr.cmd | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/91aa6b7d/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 65f5c53..7e3b7ea 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -290,6 +290,10 @@ Bug Fixes
 
 * 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
 ----------------------
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/91aa6b7d/solr/bin/solr
----------------------------------------------------------------------
diff --git a/solr/bin/solr b/solr/bin/solr
index 1497868..115cec1 100755
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -1071,7 +1071,7 @@ if [[ "$SCRIPT_CMD" == "create" || "$SCRIPT_CMD" == "create_core" ||
"$SCRIPT_CM
 
   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 "         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
 
   if [[ "$(whoami)" == "root" ]] && [[ "$FORCE" == "false" ]] ; then

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/91aa6b7d/solr/bin/solr.cmd
----------------------------------------------------------------------
diff --git a/solr/bin/solr.cmd b/solr/bin/solr.cmd
index d6d2745..3fb20fa 100755
--- a/solr/bin/solr.cmd
+++ b/solr/bin/solr.cmd
@@ -1551,7 +1551,7 @@ if "!CREATE_PORT!"=="" (
 
 if "!CREATE_CONFDIR!"=="_default" (
   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" (


Mime
View raw message