智盟项目
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_mapping_tilk_tok_task.go 1.7 KiB

1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. package md
  2. const ZhiosTikTokTaskEsIndex = "zhios_tik_tok_task"
  3. const ZhiosTikTokTaskDetailEsIndex = "zhios_tik_tok_task_detail"
  4. const ZhiosTikTokTaskEsMapping = `
  5. {
  6. "settings" : {
  7. "number_of_shards" : 2,
  8. "number_of_replicas" : 1
  9. },
  10. "mappings":{
  11. "properties":{
  12. "task_ids":{
  13. "type": "text"
  14. }
  15. }
  16. }
  17. }`
  18. const ZhiosTikTokTaskDetailEsMapping = `
  19. {
  20. "settings" : {
  21. "number_of_shards" : 2,
  22. "number_of_replicas" : 1
  23. },
  24. "mappings":{
  25. "properties":{
  26. "appid":{
  27. "type": "keyword"
  28. },
  29. "task_start_time":{
  30. "type": "integer"
  31. },
  32. "task_end_time":{
  33. "type": "integer"
  34. },
  35. "page_type":{
  36. "type": "integer"
  37. },
  38. "start_page":{
  39. "type": "keyword"
  40. },
  41. "task_desc":{
  42. "type": "keyword"
  43. },
  44. "task_icon":{
  45. "type": "keyword"
  46. },
  47. "task_name":{
  48. "type": "keyword"
  49. },
  50. "anchor_title":{
  51. "type": "keyword"
  52. },
  53. "status":{
  54. "type": "integer"
  55. },
  56. "task_tags":{
  57. "type": "keyword"
  58. },
  59. "task_settle_type":{
  60. "type": "integer"
  61. },
  62. "task_id":{
  63. "type": "keyword"
  64. },
  65. "refer_ma_captures":{
  66. "type": "keyword"
  67. },
  68. "refer_video_captures":{
  69. "type": "keyword"
  70. },
  71. "refer_videos":{
  72. "type": "keyword"
  73. },
  74. "refer_gids":{
  75. "type": "keyword"
  76. },
  77. "task_refund_period":{
  78. "type": "integer"
  79. },
  80. "payment_allocate_ratio":{
  81. "type": "integer"
  82. },
  83. "platform_address_app":{
  84. "type": "keyword"
  85. },
  86. "platform_address_web":{
  87. "type": "keyword"
  88. },
  89. "reject_reason":{
  90. "type": "keyword"
  91. },
  92. "task_type":{
  93. "type": "integer"
  94. },
  95. "video_id":{
  96. "type": "integer"
  97. },
  98. "oriented_talent_rel_list":{
  99. "type": "text"
  100. }
  101. }
  102. }
  103. }`