From 1a1a8dc60a0832135b7674c93f22debce6cb226b Mon Sep 17 00:00:00 2001 From: Alex Ioannidis Date: Fri, 27 Sep 2024 10:31:58 +0200 Subject: [PATCH] mappings: disable doc_values for geo_shape fields * Addresses #1807. * Fixes that multiple values for ``metadata.locaations.features``. --- .../mappings/os-v1/rdmrecords/records/record-v7.0.0.json | 3 ++- .../mappings/os-v2/rdmrecords/records/record-v7.0.0.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/invenio_rdm_records/records/mappings/os-v1/rdmrecords/records/record-v7.0.0.json b/invenio_rdm_records/records/mappings/os-v1/rdmrecords/records/record-v7.0.0.json index 3fd7e98d4..3e3cd6600 100644 --- a/invenio_rdm_records/records/mappings/os-v1/rdmrecords/records/record-v7.0.0.json +++ b/invenio_rdm_records/records/mappings/os-v1/rdmrecords/records/record-v7.0.0.json @@ -1074,7 +1074,8 @@ "type": "geo_point" }, "geometry": { - "type": "geo_shape" + "type": "geo_shape", + "doc_values": false }, "place": { "type": "text" diff --git a/invenio_rdm_records/records/mappings/os-v2/rdmrecords/records/record-v7.0.0.json b/invenio_rdm_records/records/mappings/os-v2/rdmrecords/records/record-v7.0.0.json index 0719293e9..9291eec90 100644 --- a/invenio_rdm_records/records/mappings/os-v2/rdmrecords/records/record-v7.0.0.json +++ b/invenio_rdm_records/records/mappings/os-v2/rdmrecords/records/record-v7.0.0.json @@ -1074,7 +1074,8 @@ "type": "geo_point" }, "geometry": { - "type": "geo_shape" + "type": "geo_shape", + "doc_values": false }, "place": { "type": "text"