使用postman创建es索引及映射
{ "mappings" : { "properties":{ "id":{ "type":"text" }, "title":{ "type":"text", "analyzer": "ik_max_word" }, "content":{ "type":"text", "analyzer": "ik_max_word" }, "publish_time":{ "type":"date" } } } }
{ "mappings" : { "properties":{ "id":{ "type":"text" }, "title":{ "type":"text", "analyzer": "ik_max_word" }, "content":{ "type":"text", "analyzer": "ik_max_word" }, "publish_time":{ "type":"date" } } } }