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 656559e5f..ea559d5b7 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 @@ -13,11 +13,7 @@ "tokenizer": "standard", "type": "custom", "char_filter": ["strip_special_chars"], - "filter": [ - "lowercase", - "asciifolding", - "edgegrams" - ] + "filter": ["lowercase", "asciifolding", "edgegrams"] } }, "filter": { @@ -209,6 +205,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 656559e5f..ea559d5b7 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 @@ -13,11 +13,7 @@ "tokenizer": "standard", "type": "custom", "char_filter": ["strip_special_chars"], - "filter": [ - "lowercase", - "asciifolding", - "edgegrams" - ] + "filter": ["lowercase", "asciifolding", "edgegrams"] } }, "filter": { @@ -209,6 +205,21 @@ }, "name": { "type": "text" + }, + "identifiers": { + "properties": { + "identifier": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "scheme": { + "type": "keyword" + } + } } } },