dengbiao 4 days ago
parent
commit
73db9904c5
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      md/es.go

+ 5
- 5
md/es.go View File

@@ -202,13 +202,13 @@ const EggFriendCircleCommentEsMapping = `
"type": "integer" "type": "integer"
}, },
"circle_id":{ "circle_id":{
"type": "integer"
"type": "keyword"
}, },
"comment_id":{ "comment_id":{
"type": "integer"
"type": "keyword"
}, },
"reply_comment_id":{ "reply_comment_id":{
"type": "integer"
"type": "keyword"
}, },
"content":{ "content":{
"type": "keyword" "type": "keyword"
@@ -309,7 +309,7 @@ const EggFriendCircleLikeEsMapping = `
"number_of_replicas" : 1 "number_of_replicas" : 1
}, },
"aliases": { "aliases": {
"egg_friend_circle": {}
"egg_friend_circle_like": {}
}, },
"mappings":{ "mappings":{
"properties":{ "properties":{
@@ -317,7 +317,7 @@ const EggFriendCircleLikeEsMapping = `
"type": "integer" "type": "integer"
}, },
"circle_id":{ "circle_id":{
"type": "integer"
"type": "keyword"
}, },
"created_at":{ "created_at":{
"type": "date", "type": "date",


Loading…
Cancel
Save