From a1b43d02eba7a09d44331e9d7f4365406694556b Mon Sep 17 00:00:00 2001 From: Giambattista Bloisi Date: Thu, 18 Apr 2024 12:01:43 +0200 Subject: [PATCH] initial stage --- airflow/dags/EOSC_indexes.py | 67 ++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/airflow/dags/EOSC_indexes.py b/airflow/dags/EOSC_indexes.py index 850584c..f74e93c 100644 --- a/airflow/dags/EOSC_indexes.py +++ b/airflow/dags/EOSC_indexes.py @@ -684,6 +684,9 @@ mappings['services'] = { "accessRestriction": { "type": "keyword" }, + "accessTypes": { + "type": "keyword" + }, "access_modes": { "type": "keyword" }, @@ -712,6 +715,12 @@ mappings['services'] = { } } }, + "grantProjectNames": { + "type": "text" + }, + "helpdeskPage": { + "type": "text" + }, "horizontal": { "type": "boolean" }, @@ -739,6 +748,9 @@ mappings['services'] = { }, "type": "text" }, + "orderType": { + "type": "keyword" + }, "organization": { "fields": { "keyword": { @@ -748,6 +760,12 @@ mappings['services'] = { }, "type": "text" }, + "pricing": { + "type": "text" + }, + "privacyPolicy": { + "type": "text" + }, "providers": { "fields": { "keyword": { @@ -773,12 +791,37 @@ mappings['services'] = { "targetUsers": { "type": "keyword" }, + "termsOfUse": { + "type": "text" + }, "thematic": { "type": "boolean" }, + "trl": { + "type": "keyword" + }, "type": { "type": "keyword" }, + "useCases": { + "type": "object", + "properties": { + "useCase": { + "type": "object", + "properties": { + "useCaseName": { + "type": "keyword" + }, + "useCaseURL": { + "type": "text" + } + } + } + } + }, + "userManual": { + "type": "text" + }, "webpage": { "type": "text" }, @@ -850,6 +893,22 @@ mappings['training'] = { "accessRights": { "type": "keyword" }, + "alternativeIdentifiers": { + "type": "object", + "properties": { + "alternativeIdentifier": { + "type": "object", + "properties": { + "type": { + "type": "keyword" + }, + "value": { + "type": "keyword" + } + } + } + } + }, "authors": { "fields": { "keyword": { @@ -891,6 +950,14 @@ mappings['training'] = { "language": { "type": "keyword" }, + "learningOutcomes": { + "type": "object", + "properties": { + "learningOutcome": { + "type": "text" + } + } + }, "learningResourceType": { "type": "keyword" },