批量导入请求_bulk

{"index":{"_index":"social","_type":"weibo"}}
{"content":"发给微博印尼的最新喜报! 工程院技术开发部前端开发处的张兆辰于2016-03-31 17:03:29抽奖获得 700经验"}
{"index":{"_index":"social","_type":"weibo"}}
{"content":"#还是要使用# "}
{"index":{"_index":"social","_type":"weibo"}}
{"content":"#好多好多个# "}
{"index":{"_index":"social","_type":"weibo"}}
{"content":"#好多好多个# "}
{"index":{"_index":"social","_type":"weibo"}}
{"content":"teteg#的好多呵呵# "}
{"index":{"_index":"social","_type":"weibo"}}
{"content":"#韩国代购# "}
{"index":{"_index":"social","_type":"weibo"}}
{"content":"#饮水思源# "}
{"index":{"_index":"social","_type":"weibo"}}
{"content":"#附属# "}
{"index":{"_index":"social","_type":"weibo"}}
{"content":"#激动激动# "}
{"index":{"_index":"social","_type":"weibo"}}
{"content":"#电影的# "}
{"index":{"_index":"social","_type":"weibo"}}
{"content":"#请插时好时坏# "}
{"index":{"_index":"social","_type":"weibo"}}
{"content":"#请插入话题# "}
{"index":{"_index":"social","_type":"weibo"}}
{"content":"活动分享 cmp://com.test.social.activity/actMyList 活动"}
{"index":{"_index":"social","_type":"weibo"}}
{"content":"默认帖子title cmp://com.test.social.forum/forumPostDetailPage?postId=491682c3-c512-4e4e-b285-f94f91d30dee"}
{"index":{"_index":"social","_type":"weibo"}}
{"content":"分享~"}
  • 3、注意数据已经使用\n换行过了,不需要在文本中添加"\n"内容,否则json解析会报错
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 134,837评论 18 139
  • 一、无体止的对比,比孩子身高体重、饭量、说话时间等等。 孩子的成长不是简单的线性成长,会出现涌现和突变,有些孩子一...
    吴丽波阅读 765评论 0 3
  • 攻略是什么,就是谁都可以学,谁都可以用,最终肯定会通关。看完觉得high爆。这个攻略实际上就是一套流程,一套让你可...
    闻斯行诸阅读 173评论 0 0
  • 谨以此文献给我亲爱的老师们,节日快乐。 去年教师节给老师们打完电话,一直有种冲动想写一写我的老师们,但苦于...
    Lynnesurpass阅读 951评论 0 6
  • 从近在咫尺,到远隔天涯 仿佛一个梦,醒来 我就被时空的乱流冲到这海口 海风吹走温暖,海潮加深思念 一只海鸥拍打翅膀...
    路漫长阅读 137评论 0 1