Skip to content

Instantly share code, notes, and snippets.

{ "VIEW_EXP_P201":{"_all":{"enable":true,"term_vector":"yes","searchAnalyzer":"ik","indexAnalyzer":"ik"},"properties":{"工程编码":{"type":"multi_field","fields":{"工程编码":{"type":"string","store":"yes","term_verctor":"with_positions_offsets","index":"analyzed","indexAnalyzer":"ik","searchAnalyzer":"ik","include_in_all":true,"boost":1},"suggest":{"type":"completion","index_analyzer":"stopword","search_analyzer":"simple","preserve_position_increments":true,"payloads":true}}},"省":{"type":"multi_field","fields":{"省":{"type":"string","store":"yes","term_verctor":"with_positions_offsets","index":"analyzed","indexAnalyzer":"ik","searchAnalyzer":"ik","include_in_all":true,"boost":1},"suggest":{"type":"completion","index_analyzer":"stopword","search_analyzer":"simple","preserve_position_increments":true,"payloads":true}}},"地区":{"type":"multi_field","fields":{"地区":{"type":"string","store":"yes","term_verctor":"with_positions_offsets","index":"analyzed","indexAnalyzer":"ik","searchAnalyzer":"ik","include_in_all":true,"boost"
ElasticSearch.Client.Exception.ElasticSearchException: Method:POST, Url: http://172.16.42.42:9200/test/VIEW_EXP_P201/31110,Body:{"索引时间":"20130906","编号":31110.0,"工程编码":null,"省":"广东省","地区":"江门市","县":"新会区","乡镇":"崖门镇","行政区划代码":"440705105","水库名称":"松仔坑水库","水库编码":"440705000062","东经度":113.0,"东经分":4.0,"东经秒":38.7,"北纬度":22.0,"北纬分":13.0,"北纬秒":17.6,"水资源三级分区":"西北江三角州","水资源三级分区代码":"H070300","所在河流名称":"崖门水道","所在河流代码":"HD2A0000000P","水库类型":"山丘水库","挡水建筑物类型":"挡水坝","按材料分挡水主坝类型":"土坝","按结构分挡水主坝类型":"均质坝","主要泄洪建筑物型式":"岸坡式","坝址控制流域面积":1.9,"坝址多年平均径流量":254.11,"生产安置人口":0.0,"搬迁安置人口":0.0,"工程建设情况":"已建","建成时间年":1964.0,"建成时间月":3.0,"开工时间年":0.0,"开工时间月":0.0,"水库调节性能":"年调节","工程等别":"Ⅴ","主坝级别":"5级","主坝坝高":10.7,"主坝坝长":56.0,"最大泄洪量":38.7,"高程系统":"珠江基面高程系统","坝顶高程":104.7,"设计洪水标准":20.0,"校核洪水标准":200.0,"校核洪水位":104.3,"设计洪水位":103.6,"防洪高水位":0.0,"正常蓄水位":103.2,"防洪限制水位":0.0,"死水位":94.5,"总库容":31.8,"调洪库容":4.8,"防洪库容":0.0,"兴利库容":26.6,"死库容":0.4,"正常蓄水位水面面积":0.01,"工程任务_防洪":" ","工程任务_发电":"1","工程任务_供水":" ","工程任务_灌溉":" ","工程任务_航运":" ","工程任务_养殖":" ","工程任务_其他":" ","重要保护对象":" "
{
"COMM_MANDEPTINFO": {
"_all": {
"enable": "true",
"term_vector": "yes"
},
"properties": {
"UNITNAME": {
"type": "multi_field",
"fields": {