Commit 98c79f78 authored by 李小芳's avatar 李小芳

修改mapping

parent a9ca82d3
......@@ -3,9 +3,9 @@
"id":{"type": "long"},
"last_name":{"type":"text","analyzer":"gm_default_index","search_analyzer":"gm_default_search"}, //昵称
"last_name_not_analyzed": {"type": "keyword"}, //昵称
"last_name_2grams": {"type": "string"}, //昵称-2grams
"last_name_2grams": {"type": "keyword"}, //昵称-2grams
"is_active":{"type":"boolean"}, //后台勾选有效且不在黑名单
"membership_level":{"type":"string"}, //会员等级(普通,达人)
"membership_level":{"type":"keyword"}, //会员等级(普通,达人)
"last_login":{ //最后登陆
"type":"date",
"format":"date_time_no_millis"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment