Skip to content

Commit

Permalink
explain updateSchemaMDB.sh must be run on Solr server IQSS#6142
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Sep 11, 2019
1 parent aebc850 commit 7b2becd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/sphinx-guides/source/admin/metadatacustomization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7b2becd

Please sign in to comment.