config.toml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. [mongob] ## bidding 数据
  2. host = "127.0.0.1:27083"
  3. #host = "172.17.145.163:27083"
  4. db = "qfw"
  5. username = "SJZY_RWbid_ES"
  6. password = "SJZY@B4i4D5e6S"
  7. size = 10
  8. direct = true
  9. [es]
  10. url = "http://127.0.0.1:19805"
  11. # url = "172.17.4.184:19805"
  12. username = "es_all"
  13. password ="TopJkO2E_d1x"
  14. [env]
  15. spec = "0 00 10 * * *" ## 每天10点执行;适合 按照月份创建索引
  16. [[fields]]
  17. [fields.a]
  18. datatype = "采购意向"
  19. field = ["buyer","budget","projectname","area","city","district"]
  20. toptype ="采购意向"
  21. [fields.b]
  22. datatype = "招标预告"
  23. field = ["buyer","budget","projectname","projectcode","area","city","district"]
  24. toptype ="预告"
  25. [fields.c]
  26. datatype = "招标数据"
  27. field = ["buyer","budget","projectname","projectcode","bidopentime","area","city","district"]
  28. toptype ="招标"
  29. [fields.d]
  30. datatype = "结果数据"
  31. field = ["buyer","budget","projectname","projectcode","s_winner","bidamount","area","city","district"]
  32. toptype ="结果"
  33. [fields.e]
  34. datatype = "招标信用信息"
  35. field = ["buyer","budget","projectname","projectcode","s_winner","bidamount","area","city","district"]
  36. toptype ="其它"