-
Notifications
You must be signed in to change notification settings - Fork 501
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9256 from philippconzett/patch-3
Make Series multiple #9255
- Loading branch information
Showing
13 changed files
with
151 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
## Metadata field Series now repeatable | ||
This enhancement allows depositors to define multiple instances of the metadata field Series in the Citation Metadata block. | ||
|
||
## Major Use Cases and Infrastructure Enhancements | ||
* Data contained in a dataset may belong to multiple series. Making the field Series repeatable will make it possible to reflect this fact in the dataset metadata. (Issue #9255, PR #9256) | ||
|
||
### Additional Upgrade Steps | ||
|
||
Update the Citation metadata block: | ||
|
||
wget https://github.com/IQSS/dataverse/releases/download/v5.14/citation.tsv | ||
curl http://localhost:8080/api/admin/datasetfield/load -X POST --data-binary @citation.tsv -H "Content-type: text/tab-separated-values" | ||
|
||
## Additional Release Steps | ||
|
||
1. Replace Solr schema.xml to allow multiple series to be used. See specific instructions below for those installations without custom metadata blocks (1a) and those with custom metadata blocks (1b). | ||
|
||
1a. | ||
|
||
For installations without Custom Metadata Blocks: | ||
|
||
-stop solr instance (usually service solr stop, depending on solr installation/OS, see the Installation Guide | ||
|
||
-replace schema.xml | ||
|
||
cp /tmp/dvinstall/schema.xml /usr/local/solr/solr-8.11.1/server/solr/collection1/conf | ||
|
||
-start solr instance (usually service solr start, depending on solr/OS) | ||
|
||
1b. | ||
|
||
For installations with Custom Metadata Blocks: | ||
|
||
-stop solr instance (usually service solr stop, depending on solr installation/OS, see the Installation Guide | ||
|
||
edit the following lines to your schema.xml (to indicate that series and its components are now multiValued='true"): | ||
|
||
<field name="series" type="string" stored="true" indexed="true" multiValued="true"/> | ||
<field name="seriesInformation" type="text_en" multiValued="true" stored="true" indexed="true"/> | ||
<field name="seriesName" type="text_en" multiValued="true" stored="true" indexed="true"/> | ||
|
||
-restart solr instance (usually service solr start, depending on solr/OS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters