From 13bc6a1ff988f55533f29030c816b6e176ceac0e Mon Sep 17 00:00:00 2001 From: Alex Ioannidis Date: Wed, 11 Dec 2024 09:56:30 +0100 Subject: [PATCH] mappings: add `identifiers` to parent organizations * Adds the missing `identifiers` property to parent communities. --- .../os-v1/communities/communities-v2.0.0.json | 15 +++++++++++++++ .../os-v2/communities/communities-v2.0.0.json | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/invenio_communities/communities/records/mappings/os-v1/communities/communities-v2.0.0.json b/invenio_communities/communities/records/mappings/os-v1/communities/communities-v2.0.0.json index ea559d5b7..9987e9fa2 100644 --- a/invenio_communities/communities/records/mappings/os-v1/communities/communities-v2.0.0.json +++ b/invenio_communities/communities/records/mappings/os-v1/communities/communities-v2.0.0.json @@ -427,6 +427,21 @@ }, "name": { "type": "text" + }, + "identifiers": { + "properties": { + "identifier": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "scheme": { + "type": "keyword" + } + } } } }, diff --git a/invenio_communities/communities/records/mappings/os-v2/communities/communities-v2.0.0.json b/invenio_communities/communities/records/mappings/os-v2/communities/communities-v2.0.0.json index ea559d5b7..9987e9fa2 100644 --- a/invenio_communities/communities/records/mappings/os-v2/communities/communities-v2.0.0.json +++ b/invenio_communities/communities/records/mappings/os-v2/communities/communities-v2.0.0.json @@ -427,6 +427,21 @@ }, "name": { "type": "text" + }, + "identifiers": { + "properties": { + "identifier": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "scheme": { + "type": "keyword" + } + } } } },