Skip to content

Commit

Permalink
legacy: added creators/contributors and grants search mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandromumo authored and slint committed Oct 20, 2023
1 parent 4fcba3c commit 77f5f39
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions invenio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,25 @@ ZENODO_LEGACY_SEARCH_MAP = {
"conceptdoi": "parent.pids.doi.identifier",
"conceptrecid": "parent.id",
"created": "created",
# Creators
"creators.affiliation": "metadata.creators.affiliations.name",
"creators.name": "metadata.creators.person_or_org.name",
"creators.orcid": "metadata.creators.person_or_org.identifiers.identifier",
"creators.gnd": "metadata.creators.person_or_org.identifiers.identifier",
# Contributors
"contributors.affiliation": "metadata.contributors.affiliations.name",
"contributors.name": "metadata.contributors.person_or_org.name",
"contributors.orcid": "metadata.contributors.person_or_org.identifiers.identifier",
"contributors.gnd": "metadata.contributors.person_or_org.identifiers.identifier",
"contributors.type": "metadata.contributors.role.id"
"description": "metadata.description",
"doi": "pids.doi.identifier",
"embargodate": "access.embargo.until",
"grants.code": "metadata.funding.award.number",
"grants.acronym": "metadata.funding.award.acronym",
"grants.program": "metadata.funding.award.program",
"grants.title": "metadata.funding.award.title.en",
# TODO: Add `grants.funder.*` mappings
"grants.funder.doi": "metadata.funding.funder.identifiers.identifier",
"grants.funder.name": "metadata.funding.funder.name",
"keywords": "metadata.subjects.subject",
Expand Down

0 comments on commit 77f5f39

Please sign in to comment.