Updated Detection's ES Mappings

Detection's now have a License field and the Comment model is defined now.
This commit is contained in:
Corey Ogburn
2024-02-09 14:20:07 -07:00
parent 29174566f3
commit 64f6d0fba9

View File

@@ -62,6 +62,10 @@
"ignore_above": 1024,
"type": "keyword"
},
"license": {
"ignore_above": 1024,
"type": "keyword"
},
"overrides": {
"properties": {
"type": {
@@ -106,6 +110,24 @@
}
}
}
},
"so_comment": {
"properties": {
"createTime": {
"type": "date"
},
"detectionId": {
"ignore_above": 1024,
"type": "keyword"
},
"description": {
"type": "text"
},
"userId": {
"ignore_above": 1024,
"type": "keyword"
}
}
}
}
}