Skip to content

Commit 0789326

Browse files
authored
Merge pull request #9225 from poikilotherm/9224-revert-workflow-solr-schema
9224 - revert workflow metadata block in Solr schema
2 parents 22352d0 + bea6594 commit 0789326

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

conf/solr/8.11.1/schema.xml

-6
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,6 @@
266266
<field name="cleaningOperations" type="text_en" multiValued="false" stored="true" indexed="true"/>
267267
<field name="collectionMode" type="text_en" multiValued="true" stored="true" indexed="true"/>
268268
<field name="collectorTraining" type="text_en" multiValued="false" stored="true" indexed="true"/>
269-
<field name="workflowType" type="text_en" multiValued="true" stored="true" indexed="true"/>
270-
<field name="workflowCodeRepository" type="text_en" multiValued="true" stored="true" indexed="true"/>
271-
<field name="workflowDocumentation" type="text_en" multiValued="true" stored="true" indexed="true"/>
272269
<field name="contributor" type="text_en" multiValued="true" stored="true" indexed="true"/>
273270
<field name="contributorName" type="text_en" multiValued="true" stored="true" indexed="true"/>
274271
<field name="contributorType" type="text_en" multiValued="true" stored="true" indexed="true"/>
@@ -506,9 +503,6 @@
506503
<copyField source="cleaningOperations" dest="_text_" maxChars="3000"/>
507504
<copyField source="collectionMode" dest="_text_" maxChars="3000"/>
508505
<copyField source="collectorTraining" dest="_text_" maxChars="3000"/>
509-
<copyField source="workflowType" dest="_text_" maxChars="3000"/>
510-
<copyField source="workflowCodeRepository" dest="_text_" maxChars="3000"/>
511-
<copyField source="workflowDocumentation" dest="_text_" maxChars="3000"/>
512506
<copyField source="contributor" dest="_text_" maxChars="3000"/>
513507
<copyField source="contributorName" dest="_text_" maxChars="3000"/>
514508
<copyField source="contributorType" dest="_text_" maxChars="3000"/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Optional: remove Workflow Schema fields from Solr index
2+
3+
In Dataverse 5.12 we added a new experimental metadata schema block for workflow deposition.
4+
We included the fields within the standard Solr schema we provide. With this version, we
5+
removed it from the schema. If you are deploying the block to your installation, make sure to
6+
update your index.
7+
8+
If you already added these fields, you can delete them from your index when not using the schema.
9+
Make sure to [reindex after changing the schema](https://guides.dataverse.org/en/latest/admin/solr-search-index.html?highlight=reindex#reindex-in-place.
10+
11+
Remember: depending on the size of your installation, reindexing may take serious time to complete.
12+
You should do this in off-hours.

doc/sphinx-guides/source/user/appendix.rst

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ Unlike supported metadata, experimental metadata is not enabled by default in a
3939
- `CodeMeta Software Metadata <https://docs.google.com/spreadsheets/d/e/2PACX-1vTE-aSW0J7UQ0prYq8rP_P_AWVtqhyv46aJu9uPszpa9_UuOWRsyFjbWFDnCd7us7PSIpW7Qg2KwZ8v/pub>`__: based on the `CodeMeta Software Metadata Schema, version 2.0 <https://codemeta.github.io/terms/>`__ (`see .tsv version <https://github.com/IQSS/dataverse/blob/master/scripts/api/data/metadatablocks/codemeta.tsv>`__)
4040
- `Computational Workflow Metadata <https://docs.google.com/spreadsheets/d/13HP-jI_cwLDHBetn9UKTREPJ_F4iHdAvhjmlvmYdSSw/edit#gid=447508596>`__ (`see .tsv version <https://github.com/IQSS/dataverse/blob/master/scripts/api/data/metadatablocks/computationalworkflow.tsv>`__): adapted from `Bioschemas Computational Workflow Profile, version 1.0 <https://bioschemas.org/profiles/ComputationalWorkflow/1.0-RELEASE>`__ and `Codemeta <https://codemeta.github.io/terms/>`__.
4141

42+
Please note: these custom metadata schemas are not included in the Solr schema for indexing by default, you will need
43+
to add them as necessary for your custom metadata blocks. See "Update the Solr Schema" in :doc:`../admin/metadatacustomization`.
44+
4245
See Also
4346
~~~~~~~~
4447

0 commit comments

Comments
 (0)