蛋蛋星球-客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

es.go 382 B

1 month ago
2 weeks ago
1 month ago
1234567891011121314151617181920212223242526
  1. package md
  2. const EggUserShortLink = "egg_user_short_link"
  3. const EggUserShortLinkMap = `
  4. {
  5. "settings" : {
  6. "number_of_shards" : 2,
  7. "number_of_replicas" : 1
  8. },
  9. "mappings":{
  10. "properties":{
  11. "uid":{
  12. "type": "integer"
  13. },
  14. "date":{
  15. "type": "integer"
  16. },
  17. "link":{
  18. "type": "keyword"
  19. },
  20. "short_link":{
  21. "type": "keyword"
  22. }
  23. }
  24. }
  25. }`