daily pastebin goal
38%
SHARE
TWEET

Untitled

a guest Jan 21st, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #PUT entinfoindex
  2. {
  3.     "settings": {
  4.         "number_of_shards": 1,
  5.         "number_of_replicas": 0,
  6.         "index": {
  7.             "analysis": {
  8.                 "analyzer": {
  9.                     "default": {
  10.                         "tokenizer": "ik_smart"
  11.                     },
  12.                     "default_search": {
  13.                         "tokenizer": "ik_smart"
  14.                     }
  15.                 }
  16.             }
  17.         }
  18.     },
  19.     "mappings": {
  20.         "_doc": {
  21.             "properties": {
  22.                 "entNm": {
  23.                     "type": "text"
  24.                 },
  25.                 "lglRepNm": {
  26.                     "type": "text"
  27.                 },
  28.                 "status": {
  29.                     "type": "text"
  30.                 },
  31.                 "uniSclCrdCd": {
  32.                     "type": "keyword"
  33.                 },
  34.                 "estdDate": {
  35.                     "type": "date"
  36.                 }
  37.             }
  38.         }
  39.     }
  40. }
  41.  
  42.  
  43. # curl -s -H "Content-Type: application/json" -XPOST localhost:9200/_bulk --data-binary @entinfoindex.data.json
  44. {"index":{"_index":"entinfoindex","_type":"_doc","_id":"914401012312493211"}}
  45. {"entNm":"广州银行股份有限公司","status":"存续","uniSclCrdCd":"914401012312493211","lglRepNm":"黄子励","estdDate":"1996-09-11"}
  46. {"index":{"_index":"entinfoindex","_type":"_doc","_id":"914403003592573984"}}
  47. {"entNm":"深圳内容银行网络有限公司","status":"注销","uniSclCrdCd":"914403003592573984","lglRepNm":"高志敏","estdDate":"2015-11-09"}
  48. {"index":{"_index":"entinfoindex","_type":"_doc","_id":"19375153-9"}}
  49. {"entNm":"中国银行三水信用卡有限公司","status":"注销","uniSclCrdCd":"19375153-9","lglRepNm":"何惠珍","estdDate":"1993-03-18"}
  50. {"index":{"_index":"entinfoindex","_type":"_doc","_id":"280002018"}}
  51. {"entNm":"中国银行南海信用卡有限公司","status":"注销","uniSclCrdCd":"280002018","lglRepNm":"关小萍","estdDate":"1992-11-12"}
  52. {"index":{"_index":"entinfoindex","_type":"_doc","_id":"91440300MA5ERJUE39"}}
  53. {"entNm":"深圳市科美银行设备有限公司","status":"存续","uniSclCrdCd":"91440300MA5ERJUE39 ","lglRepNm":"孙蕊","estdDate":"2017-10-10"}
  54. {"index":{"_index":"entinfoindex","_type":"_doc","_id":"4420002002598"}}
  55. {"entNm":"中山市金盾银行设备有限公司","status":"吊销","uniSclCrdCd":"4420002002598","lglRepNm":"林建伟","estdDate":"1998-01-14"}
  56. {"index":{"_index":"entinfoindex","_type":"_doc","_id":"914406001935588864"}}
  57. {"entNm":"佛山市商业银行股份有限公司","status":"存续","uniSclCrdCd":"914406001935588864","lglRepNm":"邓向文","estdDate":"1997-07-07"}
  58. {"index":{"_index":"entinfoindex","_type":"_doc","_id":"91440300MA5D841U4T"}}
  59. {"entNm":"深圳人脉银行网络科技有限公司","status":"存续","uniSclCrdCd":"91440300MA5D841U4T","lglRepNm":"陈艳","estdDate":"2016-03-08"}
  60. {"index":{"_index":"entinfoindex","_type":"_doc","_id":"91440600MA4UJYJN76"}}
  61. {"entNm":"佛山垒亚银行设备科技有限公司","status":"存续","uniSclCrdCd":"91440600MA4UJYJN76","lglRepNm":"李灿华","estdDate":"2015-11-17"}
  62. {"index":{"_index":"entinfoindex","_type":"_doc","_id":"91440300782792953J"}}
  63. {"entNm":"深圳农村商业银行股份有限公司","status":"存续","uniSclCrdCd":"91440300782792953J","lglRepNm":"李光安","estdDate":"2005-12-09"}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top