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"
    }
    }
    }
    }

  • 相关阅读:
    链接被点击时不出现虚线框的方法
    label 和 legend标签的用法
    了解常见的浏览器内核 Trident,Geckos,Presto,Webkit
    DOCTYPE声明的几种类型
    Angularjs基础教程
    理解angular中的module和injector,即依赖注入
    es5 api
    css3_note
    canvas 基础知识
    uglifyjs note
  • 原文地址:https://www.cnblogs.com/chucklu/p/10564941.html
Copyright © 2011-2022 走看看