diff --git a/.gitignore b/.gitignore index 39c29a4..c5d5d7c 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,5 @@ source.json out.json security.yml config/proxy-https/proxy_ssl.conf + +update-handler.store \ No newline at end of file diff --git a/config/search/config.json b/config/search/config.json index d1da3ac..99ff776 100644 --- a/config/search/config.json +++ b/config/search/config.json @@ -127,7 +127,107 @@ "planned_end_date": { "type": "date" } } } + }, + { + "type": "unit", + "on_path": "units", + "rdf_type": "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid", + "sub_types": [ + "http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst", + "http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst", + "http://data.lblod.info/vocabularies/erediensten/RepresentatiefOrgaan" + ], + "properties": { + "name": "http://www.w3.org/2004/02/skos/core#prefLabel", + "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" + ] + }, + "mappings": { + "properties": { + "classification_id": { "type": "text" }, + "recognized_worship_type_id": { "type": "text" }, + "name": { + "type": "text", + "fields": { + "field": { + "type": "keyword" + } + } + }, + "classification_name": { + "type": "text", + "fields": { + "field": { + "type": "keyword" + } + } + }, + "status": { + "type": "text", + "fields": { + "field": { + "type": "keyword" + } + } + }, + "recognized_worship_type_name": { + "type": "text", + "fields": { + "field": { + "type": "keyword" + } + } + }, + "province": { + "type": "text", + "fields": { + "field": { + "type": "keyword" + } + } + }, + "municipality": { + "type": "text", + "fields": { + "field": { + "type": "keyword" + } + } + } + } + } } - ] } \ No newline at end of file