Skip to content

Documentation: Clarify how managed/classic schema.xml works, use cases, how to operationalize it. #7306

@kcondon

Description

@kcondon

As time goes on some technical details become murky vis a vis updating solr schema.
@poikilotherm @pdurbin apologies but can we have some clarification on how admins should be maintaining schema.xml when they have 1. a legacy system, 2. a new system in cases where a field is added or changed? Also any considerations around a classic schema config and a managed one.

Current instructions:
http://guides.dataverse.org/en/5.1/admin/metadatacustomization.html?highlight=updateschemamdb

Current 5.1 release notes (https://github.com/IQSS/dataverse/releases/tag/v5.1) considering schema change:
Update Biomedical Metadata Block (if used), Reload Solr, ReExportAll

-wget https://github.com/IQSS/dataverse/releases/download/v5.1/biomedical.tsv
curl http://localhost:8080/api/admin/datasetfield/load -X POST --data-binary @biomedical.tsv -H "Content-type: text/tab-separated-values"

-copy schema_dv_mdb_fields.xml and schema_dv_mdb_copies.xml to solr server, for example into /usr/local/solr/solr-7.7.2/server/solr/collection1/conf/ directory

-if your installation employs any custom metadatablocks, you should also run the script updateSchemaMDB.sh to preserve those fields. See http://guides.dataverse.org/en/5.1/admin/metadatacustomization.html?highlight=updateschemamdb . Otherwise it is unnecessary.

-Restart Solr, or tell Solr to reload its configuration:

curl "http://localhost:8983/solr/admin/cores?action=RELOAD&core=collection1"

-Run ReExportall to update JSON Exports
http://guides.dataverse.org/en/5.1/admin/metadataexport.html?highlight=export#batch-exports-through-the-api

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions