lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject [2/2] lucene-solr:branch_7x: 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 01:50:57 GMT
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/2cbd23ce
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/2cbd23ce
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/2cbd23ce

Branch: refs/heads/branch_7x
Commit: 2cbd23ceb790acc34461f509bb5e6bfb09ef37d0
Parents: 3af30b7
Author: Steve Rowe <sarowe@apache.org>
Authored: Tue Jun 12 21:50:25 2018 -0400
Committer: Steve Rowe <sarowe@apache.org>
Committed: Tue Jun 12 21:50:47 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/2cbd23ce/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 02a6858..17de226 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -53,6 +53,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/2cbd23ce/solr/bin/solr
----------------------------------------------------------------------
diff --git a/solr/bin/solr b/solr/bin/solr
index e54ff9a..43deb5c 100755
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -1065,7 +1065,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/2cbd23ce/solr/bin/solr.cmd
----------------------------------------------------------------------
diff --git a/solr/bin/solr.cmd b/solr/bin/solr.cmd
index 0e86fad..1ed9cb7 100755
--- a/solr/bin/solr.cmd
+++ b/solr/bin/solr.cmd
@@ -1548,7 +1548,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