PUT blog
{
  "mappings": {
    "properties": {
      "title": {
        "type": "text",
        "fields": {
          "keyword": {
            "type": "keyword"
          }
        }
      },
      "content": {
        "type": "text"
      },
      "user_id": {
        "type": "keyword"
      },
      "tags": {
        "type": "keyword"
      },
      "created": {
        "type": "date"
      }
    }
  }
}