数据采集
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.
 
 
 
 
 
 

39 lines
564 B

  1. package md
  2. const ZhiosRealNewsData = "zhios_real_news_data"
  3. const ZhiosRealNewsDataField = `
  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. "key":{
  15. "type": "keyword"
  16. },
  17. "cate_id":{
  18. "type": "keyword"
  19. },
  20. "images":{
  21. "type": "keyword"
  22. },
  23. "platform":{
  24. "type": "keyword"
  25. },
  26. "content":{
  27. "type": "keyword"
  28. },
  29. "old_content":{
  30. "type": "keyword"
  31. },
  32. "start_time":{
  33. "type": "integer"
  34. }
  35. }
  36. }
  37. }`