ES-Elasticsearch数据库查询

ES增删改查


一:结构操作
1.查询对应索引的表结构

GET biz_commission_book

2.创建表
复制代码

PUT  cfg_send_sku
{
   
    "settings": {
   
        "number_of_shards": 5,
        "number_of_replicas": 1
    },

    "mappings": {
   
        "cfg_send_sku" : {
   
                "properties" : {
   
                      "obdCode" : {
   
                        "type" : "keyword"
                      },
                      "skuNo" : {
   
                        "type" : "keyword"
                      },
                      "skuName" : {
   
                        "type" : "keyword"
                      },
                      "weight" : {
   
                        "type" : "double"
                      },
                      "volume" : {
   
                        "type" : "double"
                      },
                      "cartonNumbers" : {
   
                        "type" : 

你可能感兴趣的:(es,elasticsearch,数据库,sql)