Skip to content
Snippets Groups Projects
Commit 126c4c95 authored by Miroslav Puskaric's avatar Miroslav Puskaric
Browse files

add config.json

parent b4ef68e0
No related branches found
No related tags found
No related merge requests found
{
"PIVEAU_HUB_SEARCH_SERVICE_PORT": 8080,
"PIVEAU_HUB_CORS_DOMAINS": [],
"PIVEAU_HUB_SEARCH_GAZETTEER_CONFIG": {
"url": "http://doesnotmatter.eu"
},
"PIVEAU_HUB_SEARCH_CLI_CONFIG": {
"http": {"host":"0.0.0.0","port":8081},
"telnet": {}
},
"PIVEAU_FEATURE_FLAGS": {
"access_control": false,
"piveau_profile": true
},
"PIVEAU_PROFILE": {
"type": "directory",
"path": "/home/ubuntu/dcat-ap-mod"
},
"PIVEAU_HUB_SEARCH_SITEMAP_CONFIG": {
"url": "https://www.europeandataportal.eu/data/",
"static": "",
"defaultLanguage": "en",
"languages": ["bg","es","cs","da","de","et","el","en","fr","ga","hr","it","lv","lt","hu","mt","nl","pl","pt","ro","sk","sl","fi","sv","no"],
"size": 10000,
"interval": 86400000
},
"PIVEAU_HUB_SEARCH_FEED_CONFIG": {
"title": "data.europa.eu",
"relative_path_datasets": "/data/datasets/",
"relative_path_search": "/data/search",
"relative_path_datasets_api_endpoint": "/api/hub/search/datasets/"
},
"PIVEAU_HUB_SEARCH_API_KEY": "HuBsRcHkey",
"PIVEAU_HUB_SEARCH_ES_CONFIG": {
"user": "elastic",
"password": "5gRyp&XfJ9g@ETAY",
"host": "localhost",
"operator": "OR",
"port": 9200,
"circuitBreakerTries": 10,
"index": {
"dataset": {
"max_agg_size": 250,
"max_result_window": 2000000,
"settings": "conf/elasticsearch/settings/dataset/settings.json",
"mapping": "conf/elasticsearch/mapping/dataset/standard.json",
"boost": {
"title": 10.0,
"keywords": 5.0,
"description": 3.0
},
"searchParams": [
{
"name": "scoring",
"field": "quality_meas.scoring"
},
{
"name": "temporal",
"field": "temporal"
},
{
"name": "spatial",
"field": "spatial"
},
{
"name": "dataServices",
"field": "distributions.access_service"
},
{
"name": "countryData",
"values": ["eu", "io"]
},
{
"name": "autocomplete",
"values": ["title.*.autocomplete", "description.*.autocomplete", "keywords.label.autocomplete"]
}
],
"facets": [
{
"name": "is_hvd",
"title": "HVD",
"path": "is_hvd",
"aggregation_term": "is_hvd",
"plain": true
},
{
"name": "hvdCategory",
"title": "HVD Category",
"path": "hvd_category"
},
{
"name": "country",
"title": "Provenance",
"path": "country"
},
{
"name": "catalog",
"title": "Catalogues",
"path": "catalog"
},
{
"name": "superCatalog",
"title": "Super Catalogues",
"path": "catalog.is_part_of",
"plain": true
},
{
"name": "categories",
"title": "Categories",
"path": "categories"
},
{
"name": "publisher",
"title": "Publisher",
"path": "publisher",
"aggregation_term": "name.raw"
},
{
"name": "keywords",
"title": "Keywords",
"path": "keywords"
},
{
"name": "scoring",
"title": "Scoring",
"type": "nested",
"facets": [
{
"name": "excellentScoring",
"title": "Excellent Scoring",
"path": "quality_meas.scoring",
"type": "range",
"from": 351,
"to": 406
},
{
"name": "goodScoring",
"title": "Good Scoring",
"path": "quality_meas.scoring",
"type": "range",
"from": 221,
"to": 351
},
{
"name": "sufficientScoring",
"title": "Sufficient Scoring",
"path": "quality_meas.scoring",
"type": "range",
"from": 121,
"to": 221
},
{
"name": "badScoring",
"title": "Bad Scoring",
"path": "quality_meas.scoring",
"type": "range",
"from": 0,
"to": 121
}
]
},
{
"name": "format",
"title": "Formats",
"path": "distributions.format"
},
{
"name": "license",
"title": "Licenses",
"path": "distributions.license"
},
{
"name": "subject",
"title": "Subject",
"path": "subject"
}
]
},
"catalogue": {
"max_agg_size": 50,
"max_result_window": 10000,
"settings": "conf/elasticsearch/settings.json",
"mapping": "conf/elasticsearch/mapping/catalogue/standard.json",
"facets": [
{
"name": "country",
"title": "Countries",
"path": "country"
},
{
"name": "superCatalog",
"title": "Super Catalogues",
"path": "is_part_of",
"aggregation_term": "is_part_of",
"plain": true
}
],
"searchParams": [
{
"name": "temporal",
"field": "issued"
},
{
"name": "spatial",
"field": "spatial"
},
{
"name": "autocomplete",
"values": ["title.*.autocomplete", "description.*.autocomplete"]
}
]
},
"dataservice": {
"max_agg_size": 50,
"max_result_window": 10000,
"settings": "conf/elasticsearch/settings.json",
"mapping": "conf/elasticsearch/mapping/dataservice/standard.json",
"facets": [],
"searchParams": [
{
"name": "autocomplete",
"values": ["title.*.autocomplete"]
}
]
},
"vocabulary": {
"max_agg_size": 50,
"max_result_window": 10000,
"settings": "conf/elasticsearch/settings.json",
"mapping": "conf/elasticsearch/mapping/vocabulary/standard.json",
"facets": [],
"searchParams": [
{
"name": "autocomplete",
"values": ["pref_label.*.autocomplete"]
}
]
},
"dataset-revisions": {
"max_agg_size": 50,
"max_result_window": 10000,
"settings": "conf/elasticsearch/settings/dataset/settings.json",
"mapping": "conf/elasticsearch/mapping/dataset/standard.json",
"indexTemplate": "conf/elasticsearch/indexTemplate.json",
"policy": "conf/elasticsearch/policy.json",
"facets": [],
"searchParams": []
}
},
"vocabulary": {
"dataset-type": {
"fields": [
"type"
],
"excludes": [
"distributions"
],
"replacements": [
"id:id",
"label:pref_label.en",
"resource:resource"
]
},
"data-theme": {
"fields": [
"categories"
],
"replacements": [
"id:id",
"label:pref_label",
"resource:resource"
]
},
"eurovoc": {
"fields": [
"subject"
],
"replacements": [
"label:pref_label",
"resource:resource"
]
},
"iana-media-types": {
"prefix": true,
"fields": [
"compress_format",
"package_format"
],
"replacements": [
"label:pref_label.en",
"resource:resource"
]
},
"hvd-category": {
"fields": [
"hvd_category"
],
"replacements": [
"id:id",
"label:pref_label",
"resource:resource"
]
},
"planned-availability": {
"fields": [
"availability"
],
"replacements": [
"label:pref_label.en",
"resource:resource"
]
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment