From 545f0a56d850086e8d1494d6f592b339bcd5cd65 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"