智盟项目
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.

72 lines
1.0 KiB

  1. package md
  2. const ZhiosTpdarenEsIndex = "zhios_tpdaren"
  3. const ZhiosTpdarenEsMapping = `
  4. {
  5. "settings" : {
  6. "number_of_shards" : 2,
  7. "number_of_replicas" : 1
  8. },
  9. "mappings":{
  10. "properties":{
  11. "id":{
  12. "type": "integer"
  13. },
  14. "is_hot":{
  15. "type": "integer"
  16. },
  17. "video_type":{
  18. "type": "keyword"
  19. },
  20. "appid":{
  21. "type": "keyword"
  22. },
  23. "description":{
  24. "type": "keyword"
  25. },
  26. "episode":{
  27. "type": "integer"
  28. },
  29. "channel_theater_id":{
  30. "type": "integer"
  31. },
  32. "douyin_theater_id":{
  33. "type": "integer"
  34. },
  35. "kuaishou_theater_id":{
  36. "type": "integer"
  37. },
  38. "update_time":{
  39. "type": "integer"
  40. },
  41. "image_url":{
  42. "type": "keyword"
  43. },
  44. "is_end":{
  45. "type": "integer"
  46. },
  47. "pay_episode":{
  48. "type": "integer"
  49. },
  50. "material":{
  51. "type": "keyword"
  52. },
  53. "online_time":{
  54. "type": "keyword"
  55. },
  56. "time":{
  57. "type": "integer"
  58. },
  59. "type":{
  60. "type": "keyword"
  61. },
  62. "title":{
  63. "type": "keyword"
  64. },
  65. "data":{
  66. "type": "text"
  67. }
  68. }
  69. }
  70. }`