mirror of
https://github.com/datahub-project/datahub.git
synced 2026-01-06 06:46:41 +00:00
276 lines
5.5 KiB
JSON
276 lines
5.5 KiB
JSON
{
|
|
"settings": {
|
|
"analysis": {
|
|
"analyzer": {
|
|
"keyword_analyzer": {
|
|
"type": "custom",
|
|
"tokenizer": "keyword",
|
|
"filter": [
|
|
"lowercase"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"mappings": {
|
|
"dataset": {
|
|
"properties": {
|
|
"fields": {
|
|
"type": "text"
|
|
},
|
|
"location_prefix": {
|
|
"type": "text"
|
|
},
|
|
"name": {
|
|
"type": "text",
|
|
"analyzer": "keyword_analyzer"
|
|
},
|
|
"name_suggest": {
|
|
"type": "completion",
|
|
"analyzer": "standard"
|
|
},
|
|
"parent_name": {
|
|
"type": "text"
|
|
},
|
|
"properties": {
|
|
"type": "text"
|
|
},
|
|
"schema": {
|
|
"type": "text"
|
|
},
|
|
"schema_type": {
|
|
"type": "text"
|
|
},
|
|
"source": {
|
|
"type": "text"
|
|
},
|
|
"static_boosting_score": {
|
|
"type": "long"
|
|
},
|
|
"urn": {
|
|
"type": "text",
|
|
"analyzer": "keyword_analyzer"
|
|
}
|
|
}
|
|
},
|
|
"comment": {
|
|
"_parent": {
|
|
"type": "dataset"
|
|
},
|
|
"_routing": {
|
|
"required": true
|
|
},
|
|
"properties": {
|
|
"comment_type": {
|
|
"type": "text"
|
|
},
|
|
"dataset_id": {
|
|
"type": "long"
|
|
},
|
|
"text": {
|
|
"type": "text"
|
|
},
|
|
"user_id": {
|
|
"type": "long"
|
|
}
|
|
}
|
|
},
|
|
"flow_jobs": {
|
|
"properties": {
|
|
"app_code": {
|
|
"type": "text"
|
|
},
|
|
"app_id": {
|
|
"type": "long"
|
|
},
|
|
"flow_group": {
|
|
"type": "text"
|
|
},
|
|
"flow_id": {
|
|
"type": "long"
|
|
},
|
|
"flow_level": {
|
|
"type": "long"
|
|
},
|
|
"flow_name": {
|
|
"type": "text"
|
|
},
|
|
"flow_name_suggest": {
|
|
"type": "completion",
|
|
"analyzer": "standard"
|
|
},
|
|
"flow_path": {
|
|
"type": "text"
|
|
},
|
|
"is_active": {
|
|
"type": "text"
|
|
},
|
|
"is_scheduled": {
|
|
"type": "text"
|
|
},
|
|
"jobs": {
|
|
"type": "nested",
|
|
"properties": {
|
|
"app_id": {
|
|
"type": "short"
|
|
},
|
|
"flow_id": {
|
|
"type": "long"
|
|
},
|
|
"is_current": {
|
|
"type": "text"
|
|
},
|
|
"is_first": {
|
|
"type": "text"
|
|
},
|
|
"is_last": {
|
|
"type": "text"
|
|
},
|
|
"job_id": {
|
|
"type": "long"
|
|
},
|
|
"job_name": {
|
|
"type": "text"
|
|
},
|
|
"job_name_suggest": {
|
|
"type": "completion",
|
|
"analyzer": "standard"
|
|
},
|
|
"job_path": {
|
|
"type": "text"
|
|
},
|
|
"job_type": {
|
|
"type": "text"
|
|
},
|
|
"job_type_id": {
|
|
"type": "short"
|
|
},
|
|
"post_jobs": {
|
|
"type": "text"
|
|
},
|
|
"pre_jobs": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"pre_flows": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"field": {
|
|
"_parent": {
|
|
"type": "dataset"
|
|
},
|
|
"_routing": {
|
|
"required": true
|
|
},
|
|
"properties": {
|
|
"comments": {
|
|
"type": "text"
|
|
},
|
|
"dataset_id": {
|
|
"type": "long"
|
|
},
|
|
"field_name": {
|
|
"type": "text"
|
|
},
|
|
"parent_path": {
|
|
"type": "text"
|
|
},
|
|
"sort_id": {
|
|
"type": "long"
|
|
}
|
|
}
|
|
},
|
|
"metric": {
|
|
"properties": {
|
|
"dashboard_name": {
|
|
"type": "text"
|
|
},
|
|
"dimensions": {
|
|
"type": "text"
|
|
},
|
|
"metric_additive_type": {
|
|
"type": "text"
|
|
},
|
|
"metric_category": {
|
|
"type": "text"
|
|
},
|
|
"metric_description": {
|
|
"type": "text"
|
|
},
|
|
"metric_display_factor": {
|
|
"type": "double"
|
|
},
|
|
"metric_display_factor_sym": {
|
|
"type": "text"
|
|
},
|
|
"metric_formula": {
|
|
"type": "text"
|
|
},
|
|
"metric_good_direction": {
|
|
"type": "text"
|
|
},
|
|
"metric_grain": {
|
|
"type": "text"
|
|
},
|
|
"metric_group": {
|
|
"type": "text"
|
|
},
|
|
"metric_id": {
|
|
"type": "long"
|
|
},
|
|
"metric_level": {
|
|
"type": "text"
|
|
},
|
|
"metric_name": {
|
|
"type": "text"
|
|
},
|
|
"metric_name_suggest": {
|
|
"type": "completion",
|
|
"analyzer": "standard"
|
|
},
|
|
"metric_ref_id": {
|
|
"type": "text"
|
|
},
|
|
"metric_ref_id_type": {
|
|
"type": "text"
|
|
},
|
|
"metric_source": {
|
|
"type": "text"
|
|
},
|
|
"metric_source_dataset_id": {
|
|
"type": "long"
|
|
},
|
|
"metric_source_type": {
|
|
"type": "text"
|
|
},
|
|
"metric_sub_category": {
|
|
"type": "text"
|
|
},
|
|
"metric_type": {
|
|
"type": "text"
|
|
},
|
|
"metric_url": {
|
|
"type": "text"
|
|
},
|
|
"metric_urn": {
|
|
"type": "text"
|
|
},
|
|
"owners": {
|
|
"type": "text"
|
|
},
|
|
"scm_url": {
|
|
"type": "text"
|
|
},
|
|
"tags": {
|
|
"type": "text"
|
|
},
|
|
"wiki_url": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |