elasticsearch 导入官方的测试数据
数据地址:https://github.com/elastic/elasticsearch/blob/master/docs/src/test/resources/accounts.json
或者:https://wws.lanzous.com/i0ptsjzxi2h https://wws.lanzoui.com/i0ptsjzxi2h
使用postman
post请求:localhost:9200/bank/account/_bulk?pretty&refresh
参数选择binary,选择上面下载的文件accounts.json