ES相关的语法

  • 批量删除连续用户 32000003300000
    • URL:http://127.0.0.1:9200/shopsku/shopsku/_delete_by_query
    • method:post
    • param:

  • 批量多条件删除
    • URL:http://127.0.0.1:9200/shopsku/shopsku/_delete_by_query
    • es2sql:where (userid = 7213 and skuid = 13993) or (userid = 1058485 and skuid = 13366)
    • method:post
    • param:

  • 删除单个符合条件的用户
    • URL:http://127.0.0.1:9200/shopsku/shopsku/_delete_by_query
    • method:post
    • param:

  • 单个新增数据
    • URL:http://127.0.0.1:9200/shopsku/shopsku/_create
    • method:post
    • param:

  • 批量新增数据

 

  • 搜索相关的数据
    • URL:http://127.0.0.1:9200/shopsku/shopsku/_search
    • method:post
    • parame:

批量更新es的某个条件的部分字段


sql 语法转 ES语法,可使用 http://sql2es.jinfeijie.cn