1. 为帖子数据增加content字段

POST /forum/article/_bulk
{ "update": { "_id": "1"} }
{ "doc" : {"content" : "i like to write best elasticsearch article"} }
{ "update": { "_id": "2"} }
{ "doc" : {"content" : "i think java is the best programming language"} }
{ "update": { "_id": "3"} }
{ "doc" : {"content" : "i am only an elasticsearch beginner"} }
{ "update": { "_id": "4"} }
{ "doc" : {"content" : "elasticsearch and hadoop are all very good solution, i am a beginner"} }
{ "update": { "_id": "5"} }
{ "doc" : {"content" : "spark is best big data solution based on scala ,an programming language similar to java"} }
View Code

相关文章:

  • 2022-12-23
  • 2022-02-07
  • 2021-07-11
  • 2022-01-15
  • 2021-06-11
  • 2021-05-26
  • 2022-12-23
  • 2021-06-07
猜你喜欢
  • 2021-09-18
  • 2022-02-24
  • 2021-09-09
  • 2021-12-11
  • 2021-06-14
  • 2022-12-23
  • 2021-06-19
相关资源
相似解决方案