zoukankan      html  css  js  c++  java
  • Elasticsearch查询Index以及删除

    查询Index信息

    GET /bank HTTP/1.1
    Host: localhost:9200

    {
    "bank": {
    "aliases": {},
    "mappings": {
    "_doc": {
    "properties": {
    "account_number": {
    "type": "long"
    },
    "address": {
    "type": "text",
    "fields": {
    "keyword": {
    "type": "keyword",
    "ignore_above": 256
    }
    }
    },
    "age": {
    "type": "long"
    },
    "balance": {
    "type": "long"
    },
    "city": {
    "type": "text",
    "fields": {
    "keyword": {
    "type": "keyword",
    "ignore_above": 256
    }
    }
    },
    "email": {
    "type": "text",
    "fields": {
    "keyword": {
    "type": "keyword",
    "ignore_above": 256
    }
    }
    },
    "employer": {
    "type": "text",
    "fields": {
    "keyword": {
    "type": "keyword",
    "ignore_above": 256
    }
    }
    },
    "firstname": {
    "type": "text",
    "fields": {
    "keyword": {
    "type": "keyword",
    "ignore_above": 256
    }
    }
    },
    "gender": {
    "type": "text",
    "fields": {
    "keyword": {
    "type": "keyword",
    "ignore_above": 256
    }
    }
    },
    "lastname": {
    "type": "text",
    "fields": {
    "keyword": {
    "type": "keyword",
    "ignore_above": 256
    }
    }
    },
    "state": {
    "type": "text",
    "fields": {
    "keyword": {
    "type": "keyword",
    "ignore_above": 256
    }
    }
    }
    }
    }
    },
    "settings": {
    "index": {
    "creation_date": "1552962656704",
    "number_of_shards": "5",
    "number_of_replicas": "1",
    "uuid": "l45mhl-7QNibqbmbi2Jmbw",
    "version": {
    "created": "6060199"
    },
    "provided_name": "bank"
    }
    }
    }
    }

  • 相关阅读:
    使用三星720n液晶显示器的体会
    昨天终于买显示器了
    2005525早上
    抵制日货的结果zt
    读写配置文件类
    递归 访问树节点
    IE条件注释
    闭包 页面渐变
    模块 替换HTML 字符实体(双引号、左右尖括号)
    闭包 查找节点序号
  • 原文地址:https://www.cnblogs.com/chucklu/p/10564941.html
Copyright © 2011-2022 走看看