ESGF / esgf-wget

Service API endpoint for simplified wget scripts
0 stars 4 forks source link

Use Solr shards from XML file #18

Closed mauzey1 closed 4 years ago

mauzey1 commented 4 years ago

@muryanto1 This will replace the list of Solr shards from the local settings file with a path to a XML file containing the Solr shards.

This XML file will follow the same format as esgf_shards_static.xml.

muryanto1 commented 4 years ago

I tried it with the following in local_settings.py:

ESGF_SOLR_URL = 'https://esgf-node.llnl.gov/solr'

ESGF_SOLR_SHARDS_XML = '/esg/config/esgf_shards_static.xml'

and it seems to work.