Add labels in highlight properties

This commit is contained in:
Hongbo Wu 2022-06-01 19:01:14 +08:00
parent 74054cbdbd
commit c59cf9cf65

View file

@ -90,6 +90,27 @@
},
"updatedAt": {
"type": "date"
},
"labels": {
"type": "nested",
"properties": {
"id": {
"type": "keyword"
},
"name": {
"type": "keyword",
"normalizer": "lowercase_normalizer"
},
"color": {
"type": "keyword"
},
"description": {
"type": "text"
},
"createdAt": {
"type": "date"
}
}
}
}
},