Skip to content

9224 - revert workflow metadata block in Solr schema #9225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions conf/solr/8.11.1/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,6 @@
<field name="cleaningOperations" type="text_en" multiValued="false" stored="true" indexed="true"/>
<field name="collectionMode" type="text_en" multiValued="true" stored="true" indexed="true"/>
<field name="collectorTraining" type="text_en" multiValued="false" stored="true" indexed="true"/>
<field name="workflowType" type="text_en" multiValued="true" stored="true" indexed="true"/>
<field name="workflowCodeRepository" type="text_en" multiValued="true" stored="true" indexed="true"/>
<field name="workflowDocumentation" type="text_en" multiValued="true" stored="true" indexed="true"/>
<field name="contributor" type="text_en" multiValued="true" stored="true" indexed="true"/>
<field name="contributorName" type="text_en" multiValued="true" stored="true" indexed="true"/>
<field name="contributorType" type="text_en" multiValued="true" stored="true" indexed="true"/>
Expand Down Expand Up @@ -506,9 +503,6 @@
<copyField source="cleaningOperations" dest="_text_" maxChars="3000"/>
<copyField source="collectionMode" dest="_text_" maxChars="3000"/>
<copyField source="collectorTraining" dest="_text_" maxChars="3000"/>
<copyField source="workflowType" dest="_text_" maxChars="3000"/>
<copyField source="workflowCodeRepository" dest="_text_" maxChars="3000"/>
<copyField source="workflowDocumentation" dest="_text_" maxChars="3000"/>
<copyField source="contributor" dest="_text_" maxChars="3000"/>
<copyField source="contributorName" dest="_text_" maxChars="3000"/>
<copyField source="contributorType" dest="_text_" maxChars="3000"/>
Expand Down
12 changes: 12 additions & 0 deletions doc/release-notes/9224-remove-workflow-fields-from-index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Optional: remove Workflow Schema fields from Solr index

In Dataverse 5.12 we added a new experimental metadata schema block for workflow deposition.
We included the fields within the standard Solr schema we provide. With this version, we
removed it from the schema. If you are deploying the block to your installation, make sure to
update your index.

If you already added these fields, you can delete them from your index when not using the schema.
Make sure to [reindex after changing the schema](https://guides.dataverse.org/en/latest/admin/solr-search-index.html?highlight=reindex#reindex-in-place.

Remember: depending on the size of your installation, reindexing may take serious time to complete.
You should do this in off-hours.
3 changes: 3 additions & 0 deletions doc/sphinx-guides/source/user/appendix.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ Unlike supported metadata, experimental metadata is not enabled by default in a

- `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/>`__.

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

See Also
~~~~~~~~

Expand Down