{ "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" } } } }