robotquestion.json 559 Bytes
{
  "robotquestion": {
    "_all": {
      "enabled": false
    },
    "_source": {
      "enabled": true
    },
    "properties": {
      "id": {
        "type": "integer"
      },
      "question": {
        "type": "text",
        "analyzer": "ik_max_word",
        "fields": {
          "question_fullMatch": {
            "type": "keyword"
          }
        }
      },
      "keywords": {
        "type": "text",
        "analyzer": "ik_max_word"
      },
      "synonym": {
        "type": "text",
        "analyzer": "ik_max_word"
      }
    }
  }
}