diff --git a/md/es.go b/md/es.go index 00cfd7c..cc24692 100644 --- a/md/es.go +++ b/md/es.go @@ -202,13 +202,13 @@ const EggFriendCircleCommentEsMapping = ` "type": "integer" }, "circle_id":{ - "type": "integer" + "type": "keyword" }, "comment_id":{ - "type": "integer" + "type": "keyword" }, "reply_comment_id":{ - "type": "integer" + "type": "keyword" }, "content":{ "type": "keyword" @@ -309,7 +309,7 @@ const EggFriendCircleLikeEsMapping = ` "number_of_replicas" : 1 }, "aliases": { - "egg_friend_circle": {} + "egg_friend_circle_like": {} }, "mappings":{ "properties":{ @@ -317,7 +317,7 @@ const EggFriendCircleLikeEsMapping = ` "type": "integer" }, "circle_id":{ - "type": "integer" + "type": "keyword" }, "created_at":{ "type": "date",