|
| 1 | +## Metadata field Production Location now repeatable, facetable, and enabled for Advanced Search |
| 2 | +This enhancement allows depositors to define multiple instances of the metadata field Production Location in the Citation Metadata block, users to filter search results using the filter facets, and using the field in the Advanced Search option. |
| 3 | + |
| 4 | +## Major Use Cases and Infrastructure Enhancements |
| 5 | +* Data contained in a dataset may have been produced at multiple places. Making the field Production Location repeatable will make it possible to reflect this fact in the dataset metadata. Making the field facetable and enabled for Advanced Search will allow us to customize Dataverse collections more appropriately. (Issue #9253, PR #9254) |
| 6 | + |
| 7 | +### Additional Upgrade Steps |
| 8 | + |
| 9 | +Update the Citation metadata block: |
| 10 | + |
| 11 | +- `wget https://github.com/IQSS/dataverse/releases/download/v5.13/citation.tsv` |
| 12 | +- `curl http://localhost:8080/api/admin/datasetfield/load -X POST --data-binary @citation.tsv -H "Content-type: text/tab-separated-values"` |
| 13 | + |
| 14 | +## Additional Release Steps |
| 15 | + |
| 16 | +1\. Replace Solr schema.xml to allow multiple production locations to be used. See specific instructions below for those installations without custom metadata blocks (1a) and those with custom metadata blocks (1b). |
| 17 | + |
| 18 | +1a\. |
| 19 | + |
| 20 | +For installations without Custom Metadata Blocks: |
| 21 | + |
| 22 | +-stop solr instance (usually service solr stop, depending on solr installation/OS, see the [Installation Guide](https://guides.dataverse.org/en/5.13/installation/prerequisites.html#solr-init-script) |
| 23 | + |
| 24 | +-replace schema.xml |
| 25 | + |
| 26 | +cp /tmp/dvinstall/schema.xml /usr/local/solr/solr-8.11.1/server/solr/collection1/conf |
| 27 | + |
| 28 | +-start solr instance (usually service solr start, depending on solr/OS) |
| 29 | + |
| 30 | + |
| 31 | +1b\. |
| 32 | + |
| 33 | +For installations with Custom Metadata Blocks: |
| 34 | + |
| 35 | +-stop solr instance (usually service solr stop, depending on solr installation/OS, see the [Installation Guide](https://guides.dataverse.org/en/5.13/installation/prerequisites.html#solr-init-script) |
| 36 | + |
| 37 | +- edit the following line to your schema.xml (to indicate that productionPlace is now multiValued='true"): |
| 38 | + |
| 39 | + `<field name="productionPlace" type="string" stored="true" indexed="true" multiValued="true"/>` |
| 40 | + |
| 41 | +- restart solr instance (usually service solr start, depending on solr/OS) |
| 42 | + |
0 commit comments