美文网首页
elasticsearch -curd --- 2021-12

elasticsearch -curd --- 2021-12

作者: 一位先生_ | 来源:发表于2021-12-12 20:18 被阅读0次
    GET _search
    {
      "query": {
        "match_all": {}
      }
    }
    GET /accounts/persion/_search?q=weir
    
    GET accounts/persion/_search
    {
      "query": {
        "term": {
          "name": {
            "value": "weir"
          }
        }
      }
    }
    
    POST /accounts/persion/1
    {
        "name": "weir",
        "lastname": "wyt",
        "job_description": "Systems administrator and Linux specialit"
    }
    
    GET /accounts/persion/1
    
    DELETE /account/persion/1
    
    
    POST /accounts/persion/1/_update
    {
      "doc": {
        "job_description": "Systems administrator and Linux specialist"
      }
        
    }
    
    image.png

    相关文章

      网友评论

          本文标题:elasticsearch -curd --- 2021-12

          本文链接:https://www.haomeiwen.com/subject/prmvxrtx.html