diff --git a/config/search/config.json b/config/search/config.json index 3a5d67e..95a016e 100644 --- a/config/search/config.json +++ b/config/search/config.json @@ -92,22 +92,18 @@ "http://data.lblod.info/vocabularies/erediensten/EredienstMandataris" ], "properties": { - "given_name": [ - "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", - "http://xmlns.com/foaf/0.1/givenName" - ], "person_id": [ "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", "http://mu.semte.ch/vocabularies/core/uuid" ], - "person_uuid": [ - "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", - "http://mu.semte.ch/vocabularies/core/uuid" - ], "family_name": [ "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", "http://xmlns.com/foaf/0.1/familyName" ], + "given_name": [ + "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", + "http://xmlns.com/foaf/0.1/givenName" + ], "first_name_used": [ "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", "https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam" @@ -135,24 +131,6 @@ "http://data.vlaanderen.be/ns/besluit#bestuurt", "http://www.w3.org/2004/02/skos/core#prefLabel" ], - "organization_municipality": [ - "http://www.w3.org/ns/org#holds", - "^http://www.w3.org/ns/org#hasPost", - "https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan", - "http://data.vlaanderen.be/ns/besluit#bestuurt", - "http://www.w3.org/ns/org#hasPrimarySite", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "https://data.vlaanderen.be/ns/adres#gemeentenaam" - ], - "organization_province": [ - "http://www.w3.org/ns/org#holds", - "^http://www.w3.org/ns/org#hasPost", - "https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan", - "http://data.vlaanderen.be/ns/besluit#bestuurt", - "http://www.w3.org/ns/org#hasPrimarySite", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "http://www.w3.org/ns/locn#adminUnitL2" - ], "position_id": [ "http://www.w3.org/ns/org#holds", "http://www.w3.org/ns/org#role", @@ -166,6 +144,14 @@ }, "mappings": { "properties": { + "person_id": { + "type": "text", + "fields": { + "field": { + "type": "keyword" + } + } + }, "family_name": { "type": "text", "fields": { @@ -175,14 +161,6 @@ } } }, - "id": { - "type": "text", - "fields": { - "field": { - "type": "keyword" - } - } - }, "given_name": { "type": "text", "fields": { @@ -192,6 +170,18 @@ } } }, + "first_name_used": { + "type": "text", + "fields": { + "field": { + "type": "keyword", + "normalizer": "custom_sort_normalizer" + } + } + }, + "end_date": { + "type": "date" + }, "organization_id": { "type": "text" }, @@ -204,15 +194,6 @@ } } }, - "organization_province": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, "organization_name": { "type": "text", "fields": { @@ -222,15 +203,6 @@ } } }, - "organization_municipality": { - "type": "keyword", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, "position_id": { "type": "text" }, @@ -242,9 +214,6 @@ "normalizer": "custom_sort_normalizer" } } - }, - "end_date": { - "type": "date" } } } @@ -254,22 +223,18 @@ "on_path": "functionaries", "rdf_type": "http://data.lblod.info/vocabularies/leidinggevenden/Functionaris", "properties": { - "given_name": [ - "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", - "http://xmlns.com/foaf/0.1/givenName" - ], "person_id": [ "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", "http://mu.semte.ch/vocabularies/core/uuid" ], - "person_uuid": [ - "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", - "http://mu.semte.ch/vocabularies/core/uuid" - ], "family_name": [ "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", "http://xmlns.com/foaf/0.1/familyName" ], + "given_name": [ + "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", + "http://xmlns.com/foaf/0.1/givenName" + ], "first_name_used": [ "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", "https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam" @@ -297,24 +262,6 @@ "http://data.vlaanderen.be/ns/besluit#bestuurt", "http://www.w3.org/2004/02/skos/core#prefLabel" ], - "organization_municipality": [ - "http://www.w3.org/ns/org#holds", - "^http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie", - "https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan", - "http://data.vlaanderen.be/ns/besluit#bestuurt", - "http://www.w3.org/ns/org#hasPrimarySite", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "https://data.vlaanderen.be/ns/adres#gemeentenaam" - ], - "organization_province": [ - "http://www.w3.org/ns/org#holds", - "^http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie", - "https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan", - "http://data.vlaanderen.be/ns/besluit#bestuurt", - "http://www.w3.org/ns/org#hasPrimarySite", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "http://www.w3.org/ns/locn#adminUnitL2" - ], "position_id": [ "http://www.w3.org/ns/org#holds", "http://www.w3.org/ns/org#role", @@ -328,6 +275,14 @@ }, "mappings": { "properties": { + "person_id": { + "type": "text", + "fields": { + "field": { + "type": "keyword" + } + } + }, "family_name": { "type": "text", "fields": { @@ -337,14 +292,6 @@ } } }, - "id": { - "type": "text", - "fields": { - "field": { - "type": "keyword" - } - } - }, "given_name": { "type": "text", "fields": { @@ -354,6 +301,18 @@ } } }, + "first_name_used": { + "type": "text", + "fields": { + "field": { + "type": "keyword", + "normalizer": "custom_sort_normalizer" + } + } + }, + "end_date": { + "type": "date" + }, "organization_id": { "type": "text" }, @@ -366,15 +325,6 @@ } } }, - "organization_province": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, "organization_name": { "type": "text", "fields": { @@ -384,15 +334,6 @@ } } }, - "organization_municipality": { - "type": "keyword", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, "position_id": { "type": "text" }, @@ -404,9 +345,6 @@ "normalizer": "custom_sort_normalizer" } } - }, - "end_date": { - "type": "date" } } } @@ -419,22 +357,18 @@ "http://data.lblod.info/vocabularies/contacthub/AgentInPositie" ], "properties": { - "given_name": [ - "http://www.w3.org/ns/org#heldBy", - "http://xmlns.com/foaf/0.1/givenName" - ], "person_id": [ "http://www.w3.org/ns/org#heldBy", "http://mu.semte.ch/vocabularies/core/uuid" ], - "person_uuid": [ - "http://www.w3.org/ns/org#heldBy", - "http://mu.semte.ch/vocabularies/core/uuid" - ], "family_name": [ "http://www.w3.org/ns/org#heldBy", "http://xmlns.com/foaf/0.1/familyName" ], + "given_name": [ + "http://www.w3.org/ns/org#heldBy", + "http://xmlns.com/foaf/0.1/givenName" + ], "first_name_used": [ "http://www.w3.org/ns/org#heldBy", "https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam" @@ -456,20 +390,6 @@ "^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor", "http://www.w3.org/2004/02/skos/core#prefLabel" ], - "organization_municipality": [ - "http://www.w3.org/ns/org#holds", - "^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor", - "http://www.w3.org/ns/org#hasPrimarySite", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "https://data.vlaanderen.be/ns/adres#gemeentenaam" - ], - "organization_province": [ - "http://www.w3.org/ns/org#holds", - "^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor", - "http://www.w3.org/ns/org#hasPrimarySite", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "http://www.w3.org/ns/locn#adminUnitL2" - ], "position_id": [ "http://www.w3.org/ns/org#holds", "http://data.lblod.info/vocabularies/erediensten/functie", @@ -483,6 +403,14 @@ }, "mappings": { "properties": { + "person_id": { + "type": "text", + "fields": { + "field": { + "type": "keyword" + } + } + }, "family_name": { "type": "text", "fields": { @@ -492,14 +420,6 @@ } } }, - "person_id": { - "type": "text", - "fields": { - "field": { - "type": "keyword" - } - } - }, "given_name": { "type": "text", "fields": { @@ -509,6 +429,18 @@ } } }, + "first_name_used": { + "type": "text", + "fields": { + "field": { + "type": "keyword", + "normalizer": "custom_sort_normalizer" + } + } + }, + "end_date": { + "type": "date" + }, "organization_id": { "type": "text" }, @@ -521,15 +453,6 @@ } } }, - "organization_province": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, "organization_name": { "type": "text", "fields": { @@ -539,15 +462,6 @@ } } }, - "organization_municipality": { - "type": "keyword", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, "position_id": { "type": "text" }, @@ -559,9 +473,6 @@ "normalizer": "custom_sort_normalizer" } } - }, - "end_date": { - "type": "date" } } } @@ -571,14 +482,6 @@ "composite_types": ["minister", "functionary", "mandatory"], "on_path": "people", "properties": [ - { - "name": "given_name", - "mappings": { - "minister": "given_name", - "functionary": "given_name", - "mandatory": "given_name" - } - }, { "name": "person_id", "mappings": { @@ -595,6 +498,14 @@ "mandatory": "family_name" } }, + { + "name": "given_name", + "mappings": { + "minister": "given_name", + "functionary": "given_name", + "mandatory": "given_name" + } + }, { "name": "first_name_used", "mappings": { @@ -635,22 +546,6 @@ "mandatory": "organization_name" } }, - { - "name": "organization_municipality", - "mappings": { - "minister": "organization_municipality", - "functionary": "organization_municipality", - "mandatory": "organization_municipality" - } - }, - { - "name": "organization_province", - "mappings": { - "minister": "organization_province", - "functionary": "organization_province", - "mandatory": "organization_province" - } - }, { "name": "position_id", "mappings": { @@ -670,6 +565,14 @@ ], "mappings": { "properties": { + "person_id": { + "type": "text", + "fields": { + "field": { + "type": "keyword" + } + } + }, "family_name": { "type": "text", "fields": { @@ -679,14 +582,6 @@ } } }, - "id": { - "type": "text", - "fields": { - "field": { - "type": "keyword" - } - } - }, "given_name": { "type": "text", "fields": { @@ -696,6 +591,18 @@ } } }, + "first_name_used": { + "type": "text", + "fields": { + "field": { + "type": "keyword", + "normalizer": "custom_sort_normalizer" + } + } + }, + "end_date": { + "type": "date" + }, "organization_id": { "type": "text" }, @@ -708,15 +615,6 @@ } } }, - "organization_province": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, "organization_name": { "type": "text", "fields": { @@ -726,15 +624,6 @@ } } }, - "organization_municipality": { - "type": "keyword", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, "position_id": { "type": "text" }, @@ -746,9 +635,6 @@ "normalizer": "custom_sort_normalizer" } } - }, - "end_date": { - "type": "date" } } } @@ -810,12 +696,6 @@ }, "mappings": { "properties": { - "classification_id": { - "type": "text" - }, - "recognized_worship_type_id": { - "type": "text" - }, "name": { "type": "text", "fields": { @@ -843,6 +723,9 @@ } } }, + "classification_id": { + "type": "text" + }, "classification_name": { "type": "text", "fields": { @@ -861,6 +744,12 @@ } } }, + "status_id": { + "type": "text" + }, + "recognized_worship_type_id": { + "type": "text" + }, "recognized_worship_type_name": { "type": "text", "fields": { diff --git a/config/search/dev/config.json b/config/search/dev/config.json deleted file mode 100644 index ab1902c..0000000 --- a/config/search/dev/config.json +++ /dev/null @@ -1,877 +0,0 @@ -{ - "automatic_index_updates": true, - "persist_indexes": true, - "number_of_threads": 8, - "eager_indexing_groups": [ - [ - { - "variables": [], - "name": "acmidm-worship-editeerder" - }, - { - "variables": [], - "name": "clean" - }, - { - "variables": [], - "name": "public" - } - ], - [ - { - "variables": [], - "name": "acmidm-editeerder" - }, - { - "variables": [], - "name": "clean" - }, - { - "variables": [], - "name": "public" - } - ] - ], - "default_settings": { - "analysis": { - "normalizer": { - "custom_sort_normalizer": { - "type": "custom", - "char_filter": [], - "filter": ["lowercase", "trim", "asciifolding"] - }, - "identifier_normalizer": { - "type": "custom", - "char_filter": ["identifier_alphanumeric_filter"], - "filter": ["lowercase", "trim", "asciifolding"] - } - }, - "char_filter": { - "identifier_alphanumeric_filter": { - "type": "pattern_replace", - "pattern": "[^a-zA-Z0-9]", - "replacement": "" - } - } - } - }, - "types": [ - { - "type": "mandatory", - "on_path": "mandatories", - "rdf_type": [ - "http://data.vlaanderen.be/ns/mandaat#Mandataris", - "http://data.lblod.info/vocabularies/erediensten/EredienstMandataris" - ], - "properties": { - "given_name": [ - "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", - "http://xmlns.com/foaf/0.1/givenName" - ], - "person_id": [ - "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "person_uuid": [ - "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "family_name": [ - "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", - "http://xmlns.com/foaf/0.1/familyName" - ], - "first_name_used": [ - "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", - "https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam" - ], - "end_date": "http://data.vlaanderen.be/ns/mandaat#einde", - "organization_id": [ - "http://www.w3.org/ns/org#holds", - "^http://www.w3.org/ns/org#hasPost", - "https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan", - "http://data.vlaanderen.be/ns/besluit#bestuurt", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "organization_classification": [ - "http://www.w3.org/ns/org#holds", - "^http://www.w3.org/ns/org#hasPost", - "https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan", - "http://data.vlaanderen.be/ns/besluit#bestuurt", - "http://www.w3.org/ns/org#classification", - "http://www.w3.org/2004/02/skos/core#prefLabel" - ], - "organization_name": [ - "http://www.w3.org/ns/org#holds", - "^http://www.w3.org/ns/org#hasPost", - "https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan", - "http://data.vlaanderen.be/ns/besluit#bestuurt", - "http://www.w3.org/2004/02/skos/core#prefLabel" - ], - "organization_municipality": [ - "http://www.w3.org/ns/org#holds", - "^http://www.w3.org/ns/org#hasPost", - "https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan", - "http://data.vlaanderen.be/ns/besluit#bestuurt", - "http://www.w3.org/ns/org#hasPrimarySite", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "https://data.vlaanderen.be/ns/adres#gemeentenaam" - ], - "organization_province": [ - "http://www.w3.org/ns/org#holds", - "^http://www.w3.org/ns/org#hasPost", - "https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan", - "http://data.vlaanderen.be/ns/besluit#bestuurt", - "http://www.w3.org/ns/org#hasPrimarySite", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "http://www.w3.org/ns/locn#adminUnitL2" - ], - "position_id": [ - "http://www.w3.org/ns/org#holds", - "http://www.w3.org/ns/org#role", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "position_name": [ - "http://www.w3.org/ns/org#holds", - "http://www.w3.org/ns/org#role", - "http://www.w3.org/2004/02/skos/core#prefLabel" - ] - }, - "mappings": { - "properties": { - "family_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "person_id": { - "type": "text", - "fields": { - "field": { - "type": "keyword" - } - } - }, - "given_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_id": { - "type": "text" - }, - "organization_classification": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_province": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_municipality": { - "type": "keyword", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "position_id": { - "type": "text" - }, - "position_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "end_date": { - "type": "date" - } - } - } - }, - { - "type": "functionary", - "on_path": "functionaries", - "rdf_type": "http://data.lblod.info/vocabularies/leidinggevenden/Functionaris", - "properties": { - "given_name": [ - "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", - "http://xmlns.com/foaf/0.1/givenName" - ], - "person_id": [ - "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "person_uuid": [ - "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "family_name": [ - "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", - "http://xmlns.com/foaf/0.1/familyName" - ], - "first_name_used": [ - "http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan", - "https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam" - ], - "end_date": "http://data.vlaanderen.be/ns/mandaat#einde", - "organization_id": [ - "http://www.w3.org/ns/org#holds", - "^http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie", - "https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan", - "http://data.vlaanderen.be/ns/besluit#bestuurt", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "organization_classification": [ - "http://www.w3.org/ns/org#holds", - "^http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie", - "https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan", - "http://data.vlaanderen.be/ns/besluit#bestuurt", - "http://www.w3.org/ns/org#classification", - "http://www.w3.org/2004/02/skos/core#prefLabel" - ], - "organization_name": [ - "http://www.w3.org/ns/org#holds", - "^http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie", - "https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan", - "http://data.vlaanderen.be/ns/besluit#bestuurt", - "http://www.w3.org/2004/02/skos/core#prefLabel" - ], - "organization_municipality": [ - "http://www.w3.org/ns/org#holds", - "^http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie", - "https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan", - "http://data.vlaanderen.be/ns/besluit#bestuurt", - "http://www.w3.org/ns/org#hasPrimarySite", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "https://data.vlaanderen.be/ns/adres#gemeentenaam" - ], - "organization_province": [ - "http://www.w3.org/ns/org#holds", - "^http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie", - "https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan", - "http://data.vlaanderen.be/ns/besluit#bestuurt", - "http://www.w3.org/ns/org#hasPrimarySite", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "http://www.w3.org/ns/locn#adminUnitL2" - ], - "position_id": [ - "http://www.w3.org/ns/org#holds", - "http://www.w3.org/ns/org#role", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "position_name": [ - "http://www.w3.org/ns/org#holds", - "http://www.w3.org/ns/org#role", - "http://www.w3.org/2004/02/skos/core#prefLabel" - ] - }, - "mappings": { - "properties": { - "family_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "person_id": { - "type": "text", - "fields": { - "field": { - "type": "keyword" - } - } - }, - "given_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_id": { - "type": "text" - }, - "organization_classification": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_province": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_municipality": { - "type": "keyword", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "position_id": { - "type": "text" - }, - "position_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "end_date": { - "type": "date" - } - } - } - }, - { - "type": "minister", - "on_path": "ministers", - "rdf_type": [ - "http://data.lblod.info/vocabularies/erediensten/RolBedienaar", - "http://data.lblod.info/vocabularies/contacthub/AgentInPositie" - ], - "properties": { - "given_name": [ - "http://www.w3.org/ns/org#heldBy", - "http://xmlns.com/foaf/0.1/givenName" - ], - "person_id": [ - "http://www.w3.org/ns/org#heldBy", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "person_uuid": [ - "http://www.w3.org/ns/org#heldBy", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "family_name": [ - "http://www.w3.org/ns/org#heldBy", - "http://xmlns.com/foaf/0.1/familyName" - ], - "first_name_used": [ - "http://www.w3.org/ns/org#heldBy", - "https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam" - ], - "end_date": "http://data.lblod.info/vocabularies/contacthub/eindedatum", - "organization_id": [ - "http://www.w3.org/ns/org#holds", - "^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "organization_classification": [ - "http://www.w3.org/ns/org#holds", - "^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor", - "http://www.w3.org/ns/org#classification", - "http://www.w3.org/2004/02/skos/core#prefLabel" - ], - "organization_name": [ - "http://www.w3.org/ns/org#holds", - "^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor", - "http://www.w3.org/2004/02/skos/core#prefLabel" - ], - "organization_municipality": [ - "http://www.w3.org/ns/org#holds", - "^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor", - "http://www.w3.org/ns/org#hasPrimarySite", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "https://data.vlaanderen.be/ns/adres#gemeentenaam" - ], - "organization_province": [ - "http://www.w3.org/ns/org#holds", - "^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor", - "http://www.w3.org/ns/org#hasPrimarySite", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "http://www.w3.org/ns/locn#adminUnitL2" - ], - "position_id": [ - "http://www.w3.org/ns/org#holds", - "http://data.lblod.info/vocabularies/erediensten/functie", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "position_name": [ - "http://www.w3.org/ns/org#holds", - "http://data.lblod.info/vocabularies/erediensten/functie", - "http://www.w3.org/2004/02/skos/core#prefLabel" - ] - }, - "mappings": { - "properties": { - "family_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "person_id": { - "type": "text", - "fields": { - "field": { - "type": "keyword" - } - } - }, - "given_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_id": { - "type": "text" - }, - "organization_classification": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_province": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_municipality": { - "type": "keyword", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "position_id": { - "type": "text" - }, - "position_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "end_date": { - "type": "date" - } - } - } - }, - { - "type": "person", - "composite_types": ["minister", "functionary", "mandatory"], - "on_path": "people", - "properties": [ - { - "name": "given_name", - "mappings": { - "minister": "given_name", - "functionary": "given_name", - "mandatory": "given_name" - } - }, - { - "name": "person_id", - "mappings": { - "minister": "person_id", - "functionary": "person_id", - "mandatory": "person_id" - } - }, - { - "name": "family_name", - "mappings": { - "minister": "family_name", - "functionary": "family_name", - "mandatory": "family_name" - } - }, - { - "name": "first_name_used", - "mappings": { - "minister": "first_name_used", - "functionary": "first_name_used", - "mandatory": "first_name_used" - } - }, - { - "name": "end_date", - "mappings": { - "minister": "end_date", - "functionary": "end_date", - "mandatory": "end_date" - } - }, - { - "name": "organization_id", - "mappings": { - "minister": "organization_id", - "functionary": "organization_id", - "mandatory": "organization_id" - } - }, - { - "name": "organization_classification", - "mappings": { - "minister": "organization_classification", - "functionary": "organization_classification", - "mandatory": "organization_classification" - } - }, - { - "name": "organization_name", - "mappings": { - "minister": "organization_name", - "functionary": "organization_name", - "mandatory": "organization_name" - } - }, - { - "name": "organization_municipality", - "mappings": { - "minister": "organization_municipality", - "functionary": "organization_municipality", - "mandatory": "organization_municipality" - } - }, - { - "name": "organization_province", - "mappings": { - "minister": "organization_province", - "functionary": "organization_province", - "mandatory": "organization_province" - } - }, - { - "name": "position_id", - "mappings": { - "minister": "position_id", - "functionary": "position_id", - "mandatory": "position_id" - } - }, - { - "name": "position_name", - "mappings": { - "minister": "position_name", - "functionary": "position_name", - "mandatory": "position_name" - } - } - ], - "mappings": { - "properties": { - "family_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "person_id": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "given_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_id": { - "type": "text" - }, - "organization_classification": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_province": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "organization_municipality": { - "type": "keyword", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "position_id": { - "type": "text" - }, - "position_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "end_date": { - "type": "date" - } - } - } - }, - { - "type": "organization", - "on_path": "organizations", - "rdf_type": [ - "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid", - "http://data.lblod.info/vocabularies/erediensten/EredienstBestuurseenheid", - "http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst", - "http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst", - "http://data.lblod.info/vocabularies/erediensten/RepresentatiefOrgaan", - "http://www.w3.org/ns/regorg#RegisteredOrganization" - ], - "properties": { - "name": "http://www.w3.org/2004/02/skos/core#prefLabel", - "legal_name": "http://www.w3.org/ns/regorg#legalName", - "alternative_name": "http://www.w3.org/2004/02/skos/core#altLabel", - "classification_id": [ - "http://www.w3.org/ns/org#classification", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "classification_name": [ - "http://www.w3.org/ns/org#classification", - "http://www.w3.org/2004/02/skos/core#prefLabel" - ], - "status": [ - "http://www.w3.org/ns/regorg#orgStatus", - "http://www.w3.org/2004/02/skos/core#prefLabel" - ], - "status_id": [ - "http://www.w3.org/ns/regorg#orgStatus", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "recognized_worship_type_id": [ - "http://data.lblod.info/vocabularies/erediensten/typeEredienst", - "http://mu.semte.ch/vocabularies/core/uuid" - ], - "recognized_worship_type_name": [ - "http://data.lblod.info/vocabularies/erediensten/typeEredienst", - "http://www.w3.org/2004/02/skos/core#prefLabel" - ], - "province": [ - "http://www.w3.org/ns/org#hasPrimarySite", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "http://www.w3.org/ns/locn#adminUnitL2" - ], - "municipality": [ - "http://www.w3.org/ns/org#hasPrimarySite", - "https://data.vlaanderen.be/ns/organisatie#bestaatUit", - "https://data.vlaanderen.be/ns/adres#gemeentenaam" - ], - "identifier": [ - "http://www.w3.org/ns/adms#identifier", - "https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator", - "https://data.vlaanderen.be/ns/generiek#lokaleIdentificator" - ] - }, - "mappings": { - "properties": { - "classification_id": { - "type": "text" - }, - "recognized_worship_type_id": { - "type": "text" - }, - "name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "legal_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "alternative_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "classification_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "status": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "recognized_worship_type_name": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "province": { - "type": "text", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "municipality": { - "type": "keyword", - "fields": { - "field": { - "type": "keyword", - "normalizer": "custom_sort_normalizer" - } - } - }, - "identifier": { - "type": "text", - "fields": { - "index": { - "type": "keyword", - "normalizer": "identifier_normalizer" - } - } - } - } - } - } - ] -} diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index b25c943..d938b5f 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -58,8 +58,6 @@ services: restart: "no" search: restart: "no" - volumes: - - ./config/search/dev:/config elasticsearch: restart: "no" file: