OKR/datatypes/es/question.json

54 lines
1.2 KiB
JSON
Raw Normal View History

2023-07-21 18:05:03 +08:00
{
"settings": {
"number_of_shards": 3,
"number_of_replicas": 1,
"analysis": {
"normalizer": {
"lowercase": {
"type": "custom",
"filter": [
"lowercase"
]
}
}
}
},
"mappings": {
"properties": {
"active": {
"type": "boolean"
},
"answer": {
"type": "text"
},
"codeBlock": {
"type": "text"
},
"createdAt": {
"type": "date",
"format": "yyyy-MM-dd'T'HH:mm:ss"
},
"description": {
"type": "text"
},
"isActive": {
"type": "boolean"
},
"name": {
"type": "text"
},
"questionId": {
"type": "text"
},
"tags": {
"type": "keyword"
},
"topic": {
"type": "keyword"
},
"weight": {
"type": "float"
}
}
}
}