Adds nested properties (constructions) for correct elastic search visualization
This commit is contained in:
parent
e6a23c3b59
commit
4ce6442836
|
@ -26,6 +26,25 @@ class ElasticSearchUtils:
|
|||
"properties": {
|
||||
"location": {
|
||||
"type": "geo_point"
|
||||
},
|
||||
"constructions": {
|
||||
"type": "nested",
|
||||
"properties":
|
||||
{
|
||||
"door": "keyword",
|
||||
"doorway": "keyword",
|
||||
"floor": "keyword",
|
||||
"reform": {
|
||||
"type": "nested",
|
||||
"properties":
|
||||
{
|
||||
"type": "keyword",
|
||||
"year": "keyword"
|
||||
}
|
||||
},
|
||||
"surface": "keyword",
|
||||
"use": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dynamic_templates": [
|
||||
|
|
Loading…
Reference in New Issue