ES基础(三十六)处理并发读写操作

 

 

 

 

 

 

 

 

DELETE products
PUT products

PUT products/_doc/1
{
  "title":"iphone",
  "count":100
}



GET products/_doc/1

PUT products/_doc/1?if_seq_no=1&if_primary_term=1
{
  "title":"iphone",
  "count":100
}



PUT products/_doc/1?version=30000&version_type=external
{
  "title":"iphone",
  "count":100
}

 

posted @ 2020-12-27 16:34  秋华  阅读(400)  评论(0编辑  收藏  举报