广告涉及的mq都放这里
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

104 linhas
1.8 KiB

  1. package md
  2. const ZhiosOrdersEsIndex = "zhios_orders"
  3. const ZhiosOrdersEsMapping = `
  4. {
  5. "settings" : {
  6. "number_of_shards" : 2,
  7. "number_of_replicas" : 1
  8. },
  9. "mappings":{
  10. "properties":{
  11. "master_id":{
  12. "type": "integer"
  13. },
  14. "ord_id":{
  15. "type": "keyword"
  16. },
  17. "main_ord_id":{
  18. "type": "keyword"
  19. },
  20. "store_ord_id":{
  21. "type": "keyword"
  22. },
  23. "goods_id":{
  24. "type": "keyword"
  25. },
  26. "uid":{
  27. "type": "integer"
  28. },
  29. "buyer_phone":{
  30. "type": "keyword"
  31. },
  32. "cost_price":{
  33. "type": "float"
  34. },
  35. "state":{
  36. "type": "integer"
  37. },
  38. "state_zh":{
  39. "type": "keyword"
  40. },
  41. "pay_time":{
  42. "type": "date",
  43. "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
  44. },
  45. "pay_channel":{
  46. "type": "integer"
  47. },
  48. "pay_channel_zh":{
  49. "type": "keyword"
  50. },
  51. "receiver_phone":{
  52. "type": "keyword"
  53. },
  54. "receiver_name":{
  55. "type": "keyword"
  56. },
  57. "receiver_address_detail":{
  58. "type": "text",
  59. "analyzer": "ik_smart"
  60. },
  61. "province_id":{
  62. "type": "keyword"
  63. },
  64. "city_id":{
  65. "type": "keyword"
  66. },
  67. "county_id":{
  68. "type": "keyword"
  69. },
  70. "province":{
  71. "type": "keyword"
  72. },
  73. "city":{
  74. "type": "keyword"
  75. },
  76. "county":{
  77. "type": "keyword"
  78. },
  79. "order_type":{
  80. "type": "integer"
  81. },
  82. "estimate_commission":{
  83. "type": "float"
  84. },
  85. "logistic_company":{
  86. "type": "keyword"
  87. },
  88. "ord_create_time":{
  89. "type": "date",
  90. "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
  91. },
  92. "created_at":{
  93. "type": "date",
  94. "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
  95. },
  96. "updated_at":{
  97. "type": "date",
  98. "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
  99. }
  100. }
  101. }
  102. }`