feat: There is no way the, es 全文 检索 调整

This commit is contained in:
super_liu
2022-05-18 17:29:44 +08:00
parent fea5aab330
commit c31fbf61da
5 changed files with 623 additions and 34 deletions
@@ -1209,17 +1209,11 @@ public class SearchCenterServiceImpl implements SearchCenterService {
// 记录搜索记录到数据库中 // 记录搜索记录到数据库中
if(StringUtils.isNotEmpty(searchInfoEO.getSelectValue())){ if(StringUtils.isNotEmpty(searchInfoEO.getSelectValue())){
boolSelectValue.should(QueryBuilders.multiMatchQuery(searchInfoEO.getSelectValue(), QueryBuilder multiQueryBuilder = QueryBuilders.multiMatchQuery("");
"title" multiQueryBuilder = QueryBuilders.multiMatchQuery(searchInfoEO.getSelectValue(),
).minimumShouldMatch("100%").field("title",10f)); "sortTitle","numberTitle","yearOrder","nameTitle","title","textContent","issue_time"
boolSelectValue.should(QueryBuilders.multiMatchQuery(searchInfoEO.getSelectValue(), ).minimumShouldMatch("100%").field("sortTitle",1005f).field("numberTitle",1004f).field("yearOrder",1003f).field("nameTitle",1002f).field("title",1000f);
"textContent" boolQueryBuilder.must(multiQueryBuilder);
).minimumShouldMatch("100%").field("title",10f));
boolSelectValue.should(QueryBuilders.multiMatchQuery(searchInfoEO.getSelectValue(),
"textItems"
).minimumShouldMatch("100%").field("title",10f));
boolSelectValue.should(QueryBuilders.wildcardQuery("title.keyword","*"+searchInfoEO.getSelectValue()+"*"));
boolQueryBuilder.must(boolSelectValue);
} }
//在结果中检索 //在结果中检索
if (StringUtils.isNotEmpty(searchInfoEO.getResultKeyword())) { if (StringUtils.isNotEmpty(searchInfoEO.getResultKeyword())) {
@@ -1481,29 +1475,19 @@ public class SearchCenterServiceImpl implements SearchCenterService {
if(null != value || null != select){ if(null != value || null != select){
if (null != value && select == null) { if (null != value && select == null) {
boolSelectValue QueryBuilder queryBuilder1 = QueryBuilders.multiMatchQuery("");
.should(QueryBuilders.wildcardQuery("sortTitle.keyword", "*" + value.toUpperCase() + "*").boost(1005f)) queryBuilder1 = QueryBuilders.multiMatchQuery(value,
.should(QueryBuilders.wildcardQuery("numberTitle.keyword", "*" + value.toUpperCase() + "*").boost(1003f)) "sortTitle","numberTitle","yearOrder","nameTitle","title","textContent","issue_time"
.should(QueryBuilders.wildcardQuery("yearOrder.keyword", "*" + value.toUpperCase() + "*").boost(1002f)) ).minimumShouldMatch("100%").field("sortTitle",1005f).field("numberTitle",1004f).field("yearOrder",1003f).field("nameTitle",1002f).field("title",1000f);
.should(QueryBuilders.wildcardQuery("nameTitle.keyword", "*" + value.toUpperCase() + "*").boost(1001f)) boolQueryShould.must(queryBuilder1);
.should(QueryBuilders.wildcardQuery("title.keyword", "*" + value.toUpperCase() + "*").boost(1000f))
.should(QueryBuilders.wildcardQuery("textContent.keyword", "*" + value.toUpperCase() + "*").boost(0.0000000000000000000000000000000001f))
.should(QueryBuilders.wildcardQuery("issue_time", "*" + value.toUpperCase() + "*"));
// multiQueryBuilder = QueryBuilders.multiMatchQuery("*"+value+"*",
// "title.keyword", "textContent", "issue_time").minimumShouldMatch("100%").field("title.keyword", 1000f).field("textContent.keyword", 0.0000000000000000000000000000000001f);
//// boolQueryMust.must(multiQueryBuilder);
// boolQueryShould.should(multiQueryBuilder);
} }
// searchInfoEO.setSelectValue(searchInfoEO.getSelectValue().replace("-","\\-")); // searchInfoEO.setSelectValue(searchInfoEO.getSelectValue().replace("-","\\-"));
if (null != select) { if (null != select) {
boolSelectValue QueryBuilder queryBuilder2 = QueryBuilders.multiMatchQuery("");
.should(QueryBuilders.wildcardQuery("sortTitle.keyword", "*" + real.toUpperCase() + "*").boost(1005f)) queryBuilder2 = QueryBuilders.multiMatchQuery(real,
.should(QueryBuilders.wildcardQuery("numberTitle.keyword", "*" + real.toUpperCase() + "*").boost(1003f)) "sortTitle","numberTitle","yearOrder","nameTitle","title","textContent","issue_time"
.should(QueryBuilders.wildcardQuery("yearOrder.keyword", "*" + real.toUpperCase() + "*").boost(1002f)) ).minimumShouldMatch("100%").field("sortTitle",1005f).field("numberTitle",1004f).field("yearOrder",1003f).field("nameTitle",1002f).field("title",1000f);
.should(QueryBuilders.wildcardQuery("nameTitle.keyword", "*" + real.toUpperCase() + "*").boost(1001f)) boolQueryShould.must(queryBuilder2);
.should(QueryBuilders.wildcardQuery("title.keyword", "*" + real.toUpperCase() + "*").boost(1000f))
.should(QueryBuilders.wildcardQuery("textContent.keyword", "*" + real.toUpperCase() + "*").boost(0.0000000000000000000000000000000001f))
.should(QueryBuilders.wildcardQuery("issue_time", "*" + real.toUpperCase() + "*"));
// for (String se : selects) { // for (String se : selects) {
// if (StringUtils.isNotBlank(se)) { // if (StringUtils.isNotBlank(se)) {
// boolSelectValue // boolSelectValue
@@ -1519,7 +1503,6 @@ public class SearchCenterServiceImpl implements SearchCenterService {
// .should(QueryBuilders.wildcardQuery("issue_time", "*" + real + "*")); // .should(QueryBuilders.wildcardQuery("issue_time", "*" + real + "*"));
// boolQueryShould.must(boolSelectValue); // boolQueryShould.must(boolSelectValue);
// } // }
boolQueryShould.must(boolSelectValue);
} }
BoolQueryBuilder queryBuilder = new BoolQueryBuilder(); BoolQueryBuilder queryBuilder = new BoolQueryBuilder();
@@ -1541,7 +1524,7 @@ public class SearchCenterServiceImpl implements SearchCenterService {
//在结果中检索 //在结果中检索
// boolQueryBuilder.must(multiQueryBuilder); // boolQueryBuilder.must(multiQueryBuilder);
HighlightBuilder hiBuilder=new HighlightBuilder(); HighlightBuilder hiBuilder=new HighlightBuilder();
HighlightBuilder.Field highlightTitle = new HighlightBuilder.Field("title.keyword"); HighlightBuilder.Field highlightTitle = new HighlightBuilder.Field("title");
hiBuilder.field(highlightTitle); hiBuilder.field(highlightTitle);
HighlightBuilder.Field highlightUser = new HighlightBuilder.Field("textContent"); HighlightBuilder.Field highlightUser = new HighlightBuilder.Field("textContent");
hiBuilder.field(highlightUser); hiBuilder.field(highlightUser);
@@ -1567,7 +1550,7 @@ public class SearchCenterServiceImpl implements SearchCenterService {
Map<String, Object> sourceAsMap = searchHit.getSourceAsMap(); Map<String, Object> sourceAsMap = searchHit.getSourceAsMap();
//解析高亮字段 //解析高亮字段
Map<String, HighlightField> highlightFields = searchHit.getHighlightFields(); Map<String, HighlightField> highlightFields = searchHit.getHighlightFields();
HighlightField field= highlightFields.get("title.keyword"); HighlightField field= highlightFields.get("title");
if(field!= null){ if(field!= null){
Text[] fragments = field.fragments(); Text[] fragments = field.fragments();
String n_field = ""; String n_field = "";
+186
View File
@@ -23,6 +23,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"BDTQBBHBUSS": { "BDTQBBHBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -32,6 +34,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"BDTQBBHBUSSName": { "BDTQBBHBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -41,6 +45,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"BZSMBUSS": { "BZSMBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -50,6 +56,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"BZSMBUSSName": { "BZSMBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -59,6 +67,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CDZD": { "CDZD": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -68,6 +78,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CSZD": { "CSZD": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -77,6 +89,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYBZ": { "CYBZ": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -86,6 +100,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYBZName": { "CYBZName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -95,6 +111,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCD": { "CYCD": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -104,6 +122,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCDName": { "CYCDName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -113,6 +133,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCDYBXHBUSS": { "CYCDYBXHBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -122,6 +144,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCDYBXHBUSSName": { "CYCDYBXHBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -131,6 +155,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCDYMCBUSS": { "CYCDYMCBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -140,6 +166,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCDYMCBUSSName": { "CYCDYMCBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -149,6 +177,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCVPPSBMBUSS": { "CYCVPPSBMBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -158,6 +188,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCVPPSBMBUSSName": { "CYCVPPSBMBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -167,6 +199,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCVPPSCNBUSS": { "CYCVPPSCNBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -176,6 +210,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCVPPSCNBUSSName": { "CYCVPPSCNBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -185,6 +221,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"DTQBBHBUSS": { "DTQBBHBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -194,6 +232,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"DTQBBHBUSSName": { "DTQBBHBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -203,6 +243,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"DYBXHBUSS": { "DYBXHBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -212,6 +254,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"DYBXHBUSSName": { "DYBXHBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -221,6 +265,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"DYMCBUSS": { "DYMCBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -230,6 +276,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"DYMCBUSSName": { "DYMCBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -239,6 +287,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"FBGBUSS": { "FBGBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -248,6 +298,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"FBGBUSSName": { "FBGBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -257,6 +309,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"FSRQBUSS": { "FSRQBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -266,6 +320,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"FSRQBUSSName": { "FSRQBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -275,6 +331,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"FZRQBUSS": { "FZRQBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -284,6 +342,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"FZRQBUSSName": { "FZRQBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -293,6 +353,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"GLWJBUSS": { "GLWJBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -302,6 +364,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"GLWJBUSSName": { "GLWJBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -311,6 +375,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"KCVPPSBMBUSS": { "KCVPPSBMBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -320,6 +386,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"KCVPPSBMBUSSName": { "KCVPPSBMBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -329,6 +397,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"KCVPPSCNBUSS": { "KCVPPSCNBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -338,6 +408,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"KCVPPSCNBUSSName": { "KCVPPSCNBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -347,6 +419,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"LSBBBUSS": { "LSBBBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -356,6 +430,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"LSBBBUSSName": { "LSBBBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -365,6 +441,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"NYLXCLASS": { "NYLXCLASS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -374,6 +452,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"NYLXCLASSName": { "NYLXCLASSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -383,6 +463,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"QCDW": { "QCDW": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -392,6 +474,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"QCDWName": { "QCDWName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -401,6 +485,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"QCDWShow": { "QCDWShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -410,6 +496,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"QCRBUSS": { "QCRBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -419,6 +507,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"QCRBUSSName": { "QCRBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -428,6 +518,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"QTWJBUSS": { "QTWJBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -437,6 +529,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"QTWJBUSSName": { "QTWJBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -455,6 +549,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"SYCPXCLASS": { "SYCPXCLASS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -464,6 +560,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"SYCPXCLASSName": { "SYCPXCLASSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -473,6 +571,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"SYCXCLASS": { "SYCXCLASS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -482,6 +582,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"SYCXCLASSName": { "SYCXCLASSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -491,6 +593,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"TXLBBUSS": { "TXLBBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -500,6 +604,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"TXLBBUSSName": { "TXLBBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -509,6 +615,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"VPPSBMBUSS": { "VPPSBMBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -518,6 +626,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"VPPSBMBUSSName": { "VPPSBMBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -527,6 +637,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"VPPSCNBUSS": { "VPPSCNBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -536,6 +648,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"VPPSCNBUSSName": { "VPPSCNBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -545,6 +659,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"WJSCRYBUSS": { "WJSCRYBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -554,6 +670,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"WJSCRYBUSSName": { "WJSCRYBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -563,6 +681,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XCSJBUSS": { "XCSJBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -572,6 +692,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XCSJBUSSName": { "XCSJBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -581,6 +703,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XGD": { "XGD": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -590,6 +714,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XGDName": { "XGDName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -599,6 +725,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XGJLBUSS": { "XGJLBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -608,6 +736,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XGJLBUSSName": { "XGJLBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -617,6 +747,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XGLC": { "XGLC": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -626,6 +758,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XGLCName": { "XGLCName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -635,6 +769,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"YYBZ": { "YYBZ": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -644,6 +780,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"YYBZName": { "YYBZName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -653,6 +791,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"ZFCDXZ": { "ZFCDXZ": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -662,6 +802,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"content": { "content": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -671,6 +813,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"country": { "country": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -709,6 +853,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"nameshow": { "nameshow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -718,6 +864,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"numberExpNull": { "numberExpNull": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -727,6 +875,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"numbershow": { "numbershow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -754,6 +904,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"replaceStandNum": { "replaceStandNum": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -763,6 +915,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"replace_stand_num": { "replace_stand_num": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -772,6 +926,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"replacedStandNum": { "replacedStandNum": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -781,6 +937,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"replaced_stand_num": { "replaced_stand_num": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -790,6 +948,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"standEnName": { "standEnName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -799,6 +959,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"standNumber": { "standNumber": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -808,6 +970,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"standSort": { "standSort": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -817,6 +981,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"standSortShow": { "standSortShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -836,6 +1002,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"stand_code": { "stand_code": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -845,6 +1013,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"stand_en_name": { "stand_en_name": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -854,6 +1024,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"stand_name": { "stand_name": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -863,6 +1035,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"stand_sort": { "stand_sort": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -872,6 +1046,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"stand_status": { "stand_status": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -890,6 +1066,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"standstateshow": { "standstateshow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -899,6 +1077,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"statecode": { "statecode": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -908,6 +1088,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"textStatusBuss": { "textStatusBuss": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -917,6 +1099,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"textStatusBussName": { "textStatusBussName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -926,6 +1110,8 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"type": { "type": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -53,6 +53,8 @@ fulltextserch/fulltextserch/_mapping?pretty&include_type_name=true
}, },
"numberTitle": { "numberTitle": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -63,6 +65,8 @@ fulltextserch/fulltextserch/_mapping?pretty&include_type_name=true
}, },
"nameTitle": { "nameTitle": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -83,6 +87,8 @@ fulltextserch/fulltextserch/_mapping?pretty&include_type_name=true
}, },
"textContent": { "textContent": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -92,6 +98,8 @@ fulltextserch/fulltextserch/_mapping?pretty&include_type_name=true
}, },
"textItems": { "textItems": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -101,6 +109,8 @@ fulltextserch/fulltextserch/_mapping?pretty&include_type_name=true
}, },
"title": { "title": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
+138
View File
@@ -5,6 +5,8 @@ laws/laws/_mapping?pretty&include_type_name=true
"properties": { "properties": {
"BDTWJHLAWS": { "BDTWJHLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -14,6 +16,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"BDTWJHLAWSName": { "BDTWJHLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -23,6 +27,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"CHJLLAWS": { "CHJLLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -32,6 +38,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"CHJLLAWSName": { "CHJLLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -41,6 +49,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"CYSDLAWS": { "CYSDLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -50,6 +60,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"CYSDLAWSName": { "CYSDLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -59,6 +71,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"CYSDLAWSShow": { "CYSDLAWSShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -68,6 +82,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"DTWJHLAWS": { "DTWJHLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -77,6 +93,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"DTWJHLAWSName": { "DTWJHLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -86,6 +104,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"FBJGLAWS": { "FBJGLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -95,6 +115,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"GCWBLAWS": { "GCWBLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -104,6 +126,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"GCWBLAWSName": { "GCWBLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -113,6 +137,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"GLWJLAWS": { "GLWJLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -122,6 +148,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"GLWJLAWSName": { "GLWJLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -131,6 +159,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"JDWJLAWS": { "JDWJLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -140,6 +170,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"JDWJLAWSName": { "JDWJLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -149,6 +181,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"NYLXLAWS": { "NYLXLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -158,6 +192,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"NYLXLAWSName": { "NYLXLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -167,6 +203,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"NYLXLAWSShow": { "NYLXLAWSShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -176,6 +214,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"SSRQLAWS": { "SSRQLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -185,6 +225,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"SSRQLAWSName": { "SSRQLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -194,6 +236,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"TGDWLAWS": { "TGDWLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -203,6 +247,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"TGDWLAWSName": { "TGDWLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -212,6 +258,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"TGDWLAWSShow": { "TGDWLAWSShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -221,6 +269,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"TGRLAWS": { "TGRLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -230,6 +280,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"TGRLAWSName": { "TGRLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -239,6 +291,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"TGRLAWSShow": { "TGRLAWSShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -248,6 +302,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"XCXSSRQLAWS": { "XCXSSRQLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -257,6 +313,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"XCXSSRQLAWSName": { "XCXSSRQLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -266,6 +324,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"XGLC": { "XGLC": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -275,6 +335,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"XGLCName": { "XGLCName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -284,6 +346,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"YYBZZCLAWS": { "YYBZZCLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -293,6 +357,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"YYBZZCLAWSName": { "YYBZZCLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -302,6 +368,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"YYRZLAWS": { "YYRZLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -311,6 +379,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"YYRZLAWSName": { "YYRZLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -320,6 +390,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"YYRZLAWSShow": { "YYRZLAWSShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -329,6 +401,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZCWBLAWS": { "ZCWBLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -338,6 +412,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZCWBLAWSName": { "ZCWBLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -347,6 +423,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZCXSSRQLAWS": { "ZCXSSRQLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -356,6 +434,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZCXSSRQLAWSName": { "ZCXSSRQLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -365,6 +445,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZRBMLAWS": { "ZRBMLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -374,6 +456,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZRBMLAWSName": { "ZRBMLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -383,6 +467,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZRBMLAWSShow": { "ZRBMLAWSShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -392,6 +478,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZRGCSLAWS": { "ZRGCSLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -401,6 +489,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZRGCSLAWSName": { "ZRGCSLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -410,6 +500,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZRGCSLAWSShow": { "ZRGCSLAWSShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -455,6 +547,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"content": { "content": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -464,6 +558,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"country": { "country": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -473,6 +569,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"countryShow": { "countryShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -491,6 +589,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"isRelateAccess": { "isRelateAccess": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -500,6 +600,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"isRelateAccessName": { "isRelateAccessName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -509,6 +611,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"issueCompany": { "issueCompany": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -538,6 +642,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsBulletin": { "lawsBulletin": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -547,6 +653,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsEnName": { "lawsEnName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -556,6 +664,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsLabel": { "lawsLabel": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -565,6 +675,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsLabelName": { "lawsLabelName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -574,6 +686,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsName": { "lawsName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -583,6 +697,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsNo": { "lawsNo": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -592,6 +708,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsNotisyncNum": { "lawsNotisyncNum": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -610,6 +728,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsRemark": { "lawsRemark": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -619,6 +739,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsSycx": { "lawsSycx": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -628,6 +750,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsSycxName": { "lawsSycxName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -637,6 +761,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsSyqy": { "lawsSyqy": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -646,6 +772,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsSyqyName": { "lawsSyqyName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -655,6 +783,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsTextState": { "lawsTextState": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -664,6 +794,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsTextStateName": { "lawsTextStateName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -673,6 +805,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsType": { "lawsType": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -682,6 +816,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsTypeName": { "lawsTypeName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -719,6 +855,8 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"type": { "type": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_smart",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
File diff suppressed because it is too large Load Diff