From 7b2becd9cb53c0b6433fbb03f6c4a00abcae9cc9 Mon Sep 17 00:00:00 2001 From: Philip Durbin Date: Wed, 11 Sep 2019 16:34:51 -0400 Subject: [PATCH] explain updateSchemaMDB.sh must be run on Solr server #6142 --- doc/sphinx-guides/source/admin/metadatacustomization.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/sphinx-guides/source/admin/metadatacustomization.rst b/doc/sphinx-guides/source/admin/metadatacustomization.rst index 5422cf9c7c5..1a41d329b3b 100644 --- a/doc/sphinx-guides/source/admin/metadatacustomization.rst +++ b/doc/sphinx-guides/source/admin/metadatacustomization.rst @@ -601,8 +601,7 @@ configuration, including any enabled metadata schemas: ``curl http://localhost:8080/api/admin/index/solr/schema`` -For convenience and automation you can download :download:`updateSchemaMDB.sh <../../../../conf/solr/7.3.1/updateSchemaMDB.sh>`. It downloads, parses and writes the schema -files before triggering a Solr reload. **You should run this as the Solr user, not root.** +For convenience and automation you can download and consider running :download:`updateSchemaMDB.sh <../../../../conf/solr/7.3.1/updateSchemaMDB.sh>`. It uses the API endpoint above and writes schema files to the filesystem (so be sure to run it on the Solr server itself as the Unix user who owns the Solr files) and then triggers a Solr reload. By default, it will download from Dataverse at `http://localhost:8080` and reload Solr at `http://localhost:8983`. You may use the following environment variables with this script or mix'n'match with options: