PUT /novel
{
  "mappings" : {

    "properties" : {
      "id" : {
        "type" : "long"
      },
      "authorId" : {
        "type" : "long"
      },
      "authorName" : {
        "type" : "text",
        "analyzer": "ik_smart",
        "boost": 1.5
      },
​
      "bookName" : {
        "type" : "text",
        "analyzer": "ik_smart",
        "boost": 2
      },
​
      "bookDesc" : {
        "type" : "text",
        "analyzer": "ik_smart",
        "boost": 0.1
      },
​
      "bookStatus" : {
        "type" : "short"
      },
​
      "catId" : {
        "type" : "integer"
      },
​
      "catName" : {
        "type" : "text",
        "analyzer": "ik_smart",
        "boost": 1.0
      },
​
      "lastIndexId" : {
        "type" : "long"
      },
​
      "lastIndexName" : {
        "type" : "text",
        "analyzer": "ik_smart",
        "boost": 0.1
      },
​
      "lastIndexUpdateTime" : {
        "type": "keyword"
      },
​
      "picUrl" : {
        "type" : "keyword",
        "index" : false,
        "doc_values" : false
      },
​
      "score" : {
        "type" : "float"
      },
​
      "wordCount" : {
        "type" : "integer"
      },
​
      "workDirection" : {
        "type" : "short"
      },
​
      "visitCount" : {
        "type": "long"
      }

    }
  }
}