PUT /book { "mappings" : { "properties" : { "id" : { "type" : "long" }, "authorId" : { "type" : "long" }, "authorName" : { "type" : "text" }, "bookName" : { "type" : "text" }, "bookDesc" : { "type" : "text" }, "bookStatus" : { "type" : "short" }, "categoryId" : { "type" : "integer" }, "categoryName" : { "type" : "text" }, "lastChapterId" : { "type" : "long" }, "lastChapterName" : { "type" : "text" }, "lastChapterUpdateTime" : { "type": "long" }, "picUrl" : { "type" : "keyword", "index" : false, "doc_values" : false }, "score" : { "type" : "integer" }, "wordCount" : { "type" : "integer" }, "workDirection" : { "type" : "short" }, "visitCount" : { "type": "long" } } } }