feat: There is no way the, es 标准资源查询 添加 检索方式

This commit is contained in:
super_liu
2022-05-31 13:58:43 +08:00
parent 610eec50a8
commit 5c4e89cbc7
4 changed files with 3015 additions and 3604 deletions
@@ -209,18 +209,31 @@ public class SearchCenterServiceImpl implements SearchCenterService {
updateIndex(searchInfoEO.getSelectIndex()); updateIndex(searchInfoEO.getSelectIndex());
String sortField = ""; String sortField = "";
String sortField1 = "";
String sortField2 = "";
String sortField3 = "";
if("laws".equals(searchInfoEO.getSelectIndex())){ if("laws".equals(searchInfoEO.getSelectIndex())){
sortField = "lawsYear"; sortField = "lawsYear";
sortField1 = "lawsType";
sortField2 = "lawsNumber";
sortField3 = "lawsType.keyword";
}else { }else {
sortField = "standYear"; sortField = "standYear";
sortField1 = "standSort";
sortField2 = "standNumber";
sortField3 = "standSort.keyword";
} }
searchRequestBuilder = client.prepareSearch(searchInfoEO.getSelectIndex()) searchRequestBuilder = client.prepareSearch(searchInfoEO.getSelectIndex())
.setSearchType(SearchType.DFS_QUERY_THEN_FETCH) .setSearchType(SearchType.DFS_QUERY_THEN_FETCH)
.setFrom((searchInfoEO.getPage()-1)*searchInfoEO.getPageSize()) .setFrom((searchInfoEO.getPage()-1)*searchInfoEO.getPageSize())
.addSort(sortField1, SortOrder.ASC)
.addSort(sortField2, SortOrder.ASC)
.addSort(sortField, SortOrder.DESC) .addSort(sortField, SortOrder.DESC)
.addSort(sortField3, SortOrder.ASC)
.addSort("issue_time_data", SortOrder.DESC) .addSort("issue_time_data", SortOrder.DESC)
.setSize(searchInfoEO.getPageSize()); .setSize(searchInfoEO.getPageSize());
if(StringUtils.isNotBlank(searchInfoEO.getSelectType()) && !"titleSearch".equals(searchInfoEO.getSelectType())) {
if(searchInfoEO.getSelectIndex().equals("stand")) { if(searchInfoEO.getSelectIndex().equals("stand")) {
boolQueryShould = queryStandMsg(searchInfoEO,boolQueryMust,searchRequestBuilder); boolQueryShould = queryStandMsg(searchInfoEO,boolQueryMust,searchRequestBuilder);
} else if(searchInfoEO.getSelectIndex().equals("laws")){ } else if(searchInfoEO.getSelectIndex().equals("laws")){
@@ -228,6 +241,8 @@ public class SearchCenterServiceImpl implements SearchCenterService {
} else if(searchInfoEO.getSelectIndex().equals("bussstand")){ } else if(searchInfoEO.getSelectIndex().equals("bussstand")){
boolQueryShould = queryBussStandMsg(searchInfoEO,boolQueryMust,searchRequestBuilder); boolQueryShould = queryBussStandMsg(searchInfoEO,boolQueryMust,searchRequestBuilder);
} }
}
if(StringUtils.isNotEmpty(searchInfoEO.getSelectValue()) && StringUtils.isBlank(searchInfoEO.getIsHigh())){ if(StringUtils.isNotEmpty(searchInfoEO.getSelectValue()) && StringUtils.isBlank(searchInfoEO.getIsHigh())){
QueryBuilder multiQueryBuilder; QueryBuilder multiQueryBuilder;
@@ -323,40 +338,16 @@ public class SearchCenterServiceImpl implements SearchCenterService {
} }
boolQueryBuilder.must(boolQueryShould); boolQueryBuilder.must(boolQueryShould);
}else { }else {
if ("stand".equals(searchInfoEO.getSelectIndex()) && StringUtils.isNotBlank(searchInfoEO.getStandType())) {
boolQueryBuilder.must(QueryBuilders.wildcardQuery("standType.keyword", "*"+searchInfoEO.getStandType()+"*"));
}
boolQueryBuilder.must(boolQueryShould); boolQueryBuilder.must(boolQueryShould);
} }
//在结果中检索 //在结果中检索
if (StringUtils.isNotEmpty(searchInfoEO.getSelectValue()) && !isRqFormat(searchInfoEO.getSelectValue())) { if (StringUtils.isNotEmpty(searchInfoEO.getSelectValue()) && !isRqFormat(searchInfoEO.getSelectValue())) {
QueryBuilder multiQuery = queryInResult(searchInfoEO); QueryBuilder multiQuery = queryInResult(searchInfoEO);
BoolQueryBuilder boolSelectValue = new BoolQueryBuilder(); boolQueryBuilder.must(multiQuery);
boolSelectValue.should(multiQuery);
switch (searchInfoEO.getSelectIndex()){
case "stand":
boolSelectValue
.should(QueryBuilders.wildcardQuery("standSort.keyword", "*" + searchInfoEO.getSelectValue().toUpperCase() + "*").boost(1005f))
.should(QueryBuilders.wildcardQuery("standNumber.keyword", "*" + searchInfoEO.getSelectValue().toUpperCase() + "*").boost(1003f))
.should(QueryBuilders.wildcardQuery("standYear.keyword", "*" + searchInfoEO.getSelectValue().toUpperCase() + "*").boost(1002f))
.should(QueryBuilders.wildcardQuery("stand_name.keyword", "*" + searchInfoEO.getSelectValue().toUpperCase() + "*").boost(1000f));
break;
case "laws":
boolSelectValue
.should(QueryBuilders.wildcardQuery("lawsType.keyword", "*" + searchInfoEO.getSelectValue().toUpperCase() + "*").boost(1005f))
.should(QueryBuilders.wildcardQuery("lawsNumber.keyword", "*" + searchInfoEO.getSelectValue().toUpperCase() + "*").boost(1003f))
.should(QueryBuilders.wildcardQuery("lawsYear.keyword", "*" + searchInfoEO.getSelectValue().toUpperCase() + "*").boost(1002f))
.should(QueryBuilders.wildcardQuery("lawsName.keyword", "*" + searchInfoEO.getSelectValue().toUpperCase() + "*").boost(1001f));
break;
case "bussstand":
boolSelectValue
.should(QueryBuilders.wildcardQuery("standSort.keyword", "*" + searchInfoEO.getSelectValue().toUpperCase() + "*").boost(1005f))
.should(QueryBuilders.wildcardQuery("standNumber.keyword", "*" + searchInfoEO.getSelectValue().toUpperCase() + "*").boost(1003f))
.should(QueryBuilders.wildcardQuery("standYear.keyword", "*" + searchInfoEO.getSelectValue().toUpperCase() + "*").boost(1002f))
.should(QueryBuilders.wildcardQuery("stand_name.keyword", "*" + searchInfoEO.getSelectValue().toUpperCase() + "*").boost(1000f));
break;
default: break;
}
boolQueryBuilder.must(boolSelectValue);
} }
searchRequestBuilder.setQuery(boolQueryBuilder).setTrackTotalHits(true); searchRequestBuilder.setQuery(boolQueryBuilder).setTrackTotalHits(true);
@@ -798,22 +789,31 @@ public class SearchCenterServiceImpl implements SearchCenterService {
BoolQueryBuilder boolQueryBuilder = new BoolQueryBuilder(); BoolQueryBuilder boolQueryBuilder = new BoolQueryBuilder();
List<String> fieldList = getStringField(searchInfoEO); List<String> fieldList = getStringField(searchInfoEO);
List<String> fieldNameList = new ArrayList<>(); List<String> fieldNameList = new ArrayList<>();
String[] standStr = {"content","standEnName","standNatureName", String[] standStr = null;
"textStatusName","isRelateAccessName","numbershow","standSystem","NYLXCLASS","CLLX"}; String[] lawsStr = null;
String[] lawsStr = {"content","lawsEnName","lawsNo","issueCompany","lawsTextState","lawsSyqy","lawsSycx","isRelateAccess","lawsNotisyncNum","lawsBulletin","lawsLabel","lawsRemark"}; String[] bussstandStr = null;
String[] bussstandStr = {"content","stand_code","standEnName","nameshow","standstateshow","numbershow","textStatusBuss","textStatusBussName","NYLXCLASS","CLLX"}; if (StringUtils.isNotBlank(searchInfoEO.getSelectType()) && "titleSearch".equals(searchInfoEO.getSelectType())){
standStr = new String[]{"numbershow","nameshow"};
lawsStr = new String[]{"lawsNo","lawsName"};
bussstandStr = new String[]{"numbershow","nameshow"};
}else {
standStr = new String[]{"content", "standEnName", "standNatureName",
"textStatusName", "isRelateAccessName", "numbershow","nameshow", "standSystem", "NYLXCLASS", "CLLX"};
lawsStr = new String[]{"content", "lawsEnName","lawsName", "lawsNo", "issueCompany", "lawsTextState", "lawsSyqy", "lawsSycx", "isRelateAccess", "lawsNotisyncNum", "lawsBulletin", "lawsLabel", "lawsRemark"};
bussstandStr = new String[]{"content", "stand_code", "standEnName", "nameshow", "standstateshow", "numbershow", "textStatusBuss", "textStatusBussName", "NYLXCLASS", "CLLX"};
for (String field : fieldList) { for (String field : fieldList) {
// 关键字查询属性字段 // 关键字查询属性字段
String keyWordField2 = field + "Name"; String keyWordField2 = field + "Name";
fieldNameList.add(keyWordField2); fieldNameList.add(keyWordField2);
} }
}
switch (searchInfoEO.getSelectIndex()){ switch (searchInfoEO.getSelectIndex()){
case "stand": case "stand":
List<String> listStrings = Stream.of(standStr).collect(Collectors.toList()); List<String> listStrings = Stream.of(standStr).collect(Collectors.toList());
listStrings.addAll(fieldNameList); listStrings.addAll(fieldNameList);
String[] fieldArr = listStrings.stream().toArray(String[]::new); String[] fieldArr = listStrings.stream().toArray(String[]::new);
multiQueryBuilder = QueryBuilders.multiMatchQuery(searchInfoEO.getSelectValue(),fieldArr multiQueryBuilder = QueryBuilders.multiMatchQuery(searchInfoEO.getSelectValue(),fieldArr
).minimumShouldMatch("100%").boost(1L); ).minimumShouldMatch("100%").field("numbershow",1001f).field("nameshow",1000f);
// boolQueryBuilder.should(); // boolQueryBuilder.should();
// for (String field : fieldList) { // for (String field : fieldList) {
// // 关键字查询属性字段 // // 关键字查询属性字段
@@ -826,14 +826,14 @@ public class SearchCenterServiceImpl implements SearchCenterService {
listStringLaws.addAll(fieldNameList); listStringLaws.addAll(fieldNameList);
String[] fieldLawsArr = listStringLaws.stream().toArray(String[]::new); String[] fieldLawsArr = listStringLaws.stream().toArray(String[]::new);
multiQueryBuilder = QueryBuilders.multiMatchQuery(searchInfoEO.getSelectValue(),fieldLawsArr multiQueryBuilder = QueryBuilders.multiMatchQuery(searchInfoEO.getSelectValue(),fieldLawsArr
).minimumShouldMatch("100%").boost(1L); ).minimumShouldMatch("100%").field("lawsNo",1001f).field("lawsName",1000f);
break; break;
case "bussstand": case "bussstand":
List<String> listStringBussstand = Stream.of(bussstandStr).collect(Collectors.toList()); List<String> listStringBussstand = Stream.of(bussstandStr).collect(Collectors.toList());
listStringBussstand.addAll(fieldNameList); listStringBussstand.addAll(fieldNameList);
String[] fieldBussstandArr = listStringBussstand.stream().toArray(String[]::new); String[] fieldBussstandArr = listStringBussstand.stream().toArray(String[]::new);
multiQueryBuilder = QueryBuilders.multiMatchQuery(searchInfoEO.getSelectValue(),fieldBussstandArr multiQueryBuilder = QueryBuilders.multiMatchQuery(searchInfoEO.getSelectValue(),fieldBussstandArr
).minimumShouldMatch("100%").boost(1L); ).minimumShouldMatch("100%").field("numbershow",1001f).field("nameshow",1000f);
break; break;
default: break; default: break;
} }
+4 -188
View File
@@ -23,8 +23,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"BDTQBBHBUSS": { "BDTQBBHBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -34,8 +32,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"BDTQBBHBUSSName": { "BDTQBBHBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -45,8 +41,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"BZSMBUSS": { "BZSMBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -56,8 +50,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"BZSMBUSSName": { "BZSMBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -67,8 +59,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CDZD": { "CDZD": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -78,8 +68,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CSZD": { "CSZD": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -89,8 +77,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYBZ": { "CYBZ": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -100,8 +86,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYBZName": { "CYBZName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -111,8 +95,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCD": { "CYCD": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -122,8 +104,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCDName": { "CYCDName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -133,8 +113,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCDYBXHBUSS": { "CYCDYBXHBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -144,8 +122,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCDYBXHBUSSName": { "CYCDYBXHBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -155,8 +131,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCDYMCBUSS": { "CYCDYMCBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -166,8 +140,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCDYMCBUSSName": { "CYCDYMCBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -177,8 +149,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCVPPSBMBUSS": { "CYCVPPSBMBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -188,8 +158,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCVPPSBMBUSSName": { "CYCVPPSBMBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -199,8 +167,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCVPPSCNBUSS": { "CYCVPPSCNBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -210,8 +176,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"CYCVPPSCNBUSSName": { "CYCVPPSCNBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -221,8 +185,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"DTQBBHBUSS": { "DTQBBHBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -232,8 +194,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"DTQBBHBUSSName": { "DTQBBHBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -243,8 +203,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"DYBXHBUSS": { "DYBXHBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -254,8 +212,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"DYBXHBUSSName": { "DYBXHBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -265,8 +221,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"DYMCBUSS": { "DYMCBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -276,8 +230,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"DYMCBUSSName": { "DYMCBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -287,8 +239,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"FBGBUSS": { "FBGBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -298,8 +248,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"FBGBUSSName": { "FBGBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -309,8 +257,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"FSRQBUSS": { "FSRQBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -320,8 +266,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"FSRQBUSSName": { "FSRQBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -331,8 +275,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"FZRQBUSS": { "FZRQBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -342,8 +284,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"FZRQBUSSName": { "FZRQBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -353,8 +293,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"GLWJBUSS": { "GLWJBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -364,8 +302,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"GLWJBUSSName": { "GLWJBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -375,8 +311,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"KCVPPSBMBUSS": { "KCVPPSBMBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -386,8 +320,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"KCVPPSBMBUSSName": { "KCVPPSBMBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -397,8 +329,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"KCVPPSCNBUSS": { "KCVPPSCNBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -408,8 +338,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"KCVPPSCNBUSSName": { "KCVPPSCNBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -419,8 +347,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"LSBBBUSS": { "LSBBBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -430,8 +356,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"LSBBBUSSName": { "LSBBBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -441,8 +365,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"NYLXCLASS": { "NYLXCLASS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -452,8 +374,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"NYLXCLASSName": { "NYLXCLASSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -463,8 +383,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"QCDW": { "QCDW": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -474,8 +392,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"QCDWName": { "QCDWName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -485,8 +401,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"QCDWShow": { "QCDWShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -496,8 +410,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"QCRBUSS": { "QCRBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -507,8 +419,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"QCRBUSSName": { "QCRBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -518,8 +428,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"QTWJBUSS": { "QTWJBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -529,8 +437,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"QTWJBUSSName": { "QTWJBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -549,8 +455,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"SYCPXCLASS": { "SYCPXCLASS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -560,8 +464,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"SYCPXCLASSName": { "SYCPXCLASSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -571,8 +473,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"SYCXCLASS": { "SYCXCLASS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -582,8 +482,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"SYCXCLASSName": { "SYCXCLASSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -593,8 +491,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"TXLBBUSS": { "TXLBBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -604,8 +500,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"TXLBBUSSName": { "TXLBBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -615,8 +509,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"VPPSBMBUSS": { "VPPSBMBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -626,8 +518,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"VPPSBMBUSSName": { "VPPSBMBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -637,8 +527,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"VPPSCNBUSS": { "VPPSCNBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -648,8 +536,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"VPPSCNBUSSName": { "VPPSCNBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -659,8 +545,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"WJSCRYBUSS": { "WJSCRYBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -670,8 +554,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"WJSCRYBUSSName": { "WJSCRYBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -681,8 +563,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XCSJBUSS": { "XCSJBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -692,8 +572,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XCSJBUSSName": { "XCSJBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -703,8 +581,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XGD": { "XGD": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -714,8 +590,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XGDName": { "XGDName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -725,8 +599,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XGJLBUSS": { "XGJLBUSS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -736,8 +608,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XGJLBUSSName": { "XGJLBUSSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -747,8 +617,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XGLC": { "XGLC": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -758,8 +626,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"XGLCName": { "XGLCName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -769,8 +635,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"YYBZ": { "YYBZ": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -780,8 +644,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"YYBZName": { "YYBZName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -791,8 +653,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"ZFCDXZ": { "ZFCDXZ": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -802,8 +662,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"content": { "content": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -813,8 +671,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"country": { "country": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -853,8 +709,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"nameshow": { "nameshow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -864,8 +718,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"numberExpNull": { "numberExpNull": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -875,8 +727,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"numbershow": { "numbershow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -904,8 +754,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"replaceStandNum": { "replaceStandNum": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -915,8 +763,6 @@ 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_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -926,8 +772,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"replacedStandNum": { "replacedStandNum": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -937,8 +781,6 @@ 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_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -948,8 +790,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"standEnName": { "standEnName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -959,30 +799,26 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"standNumber": { "standNumber": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
"ignore_above": 256 "ignore_above": 256
} }
} },
"fielddata": true
}, },
"standSort": { "standSort": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
"ignore_above": 256 "ignore_above": 256
} }
} },
"fielddata": true
}, },
"standSortShow": { "standSortShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -1002,8 +838,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"stand_code": { "stand_code": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -1013,8 +847,6 @@ 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_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -1024,8 +856,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"stand_name": { "stand_name": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -1035,8 +865,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"stand_sort": { "stand_sort": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -1046,8 +874,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"stand_status": { "stand_status": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -1066,8 +892,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"standstateshow": { "standstateshow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -1077,8 +901,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"statecode": { "statecode": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -1088,8 +910,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"textStatusBuss": { "textStatusBuss": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -1099,8 +919,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"textStatusBussName": { "textStatusBussName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -1110,8 +928,6 @@ bussstand/bussstand/_mapping?pretty&include_type_name=true
}, },
"type": { "type": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
+4 -140
View File
@@ -5,8 +5,6 @@ laws/laws/_mapping?pretty&include_type_name=true
"properties": { "properties": {
"BDTWJHLAWS": { "BDTWJHLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -16,8 +14,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"BDTWJHLAWSName": { "BDTWJHLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -27,8 +23,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"CHJLLAWS": { "CHJLLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -38,8 +32,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"CHJLLAWSName": { "CHJLLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -49,8 +41,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"CYSDLAWS": { "CYSDLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -60,8 +50,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"CYSDLAWSName": { "CYSDLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -71,8 +59,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"CYSDLAWSShow": { "CYSDLAWSShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -82,8 +68,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"DTWJHLAWS": { "DTWJHLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -93,8 +77,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"DTWJHLAWSName": { "DTWJHLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -104,8 +86,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"FBJGLAWS": { "FBJGLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -115,8 +95,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"GCWBLAWS": { "GCWBLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -126,8 +104,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"GCWBLAWSName": { "GCWBLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -137,8 +113,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"GLWJLAWS": { "GLWJLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -148,8 +122,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"GLWJLAWSName": { "GLWJLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -159,8 +131,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"JDWJLAWS": { "JDWJLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -170,8 +140,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"JDWJLAWSName": { "JDWJLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -181,8 +149,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"NYLXLAWS": { "NYLXLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -192,8 +158,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"NYLXLAWSName": { "NYLXLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -203,8 +167,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"NYLXLAWSShow": { "NYLXLAWSShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -214,8 +176,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"SSRQLAWS": { "SSRQLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -225,8 +185,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"SSRQLAWSName": { "SSRQLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -236,8 +194,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"TGDWLAWS": { "TGDWLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -247,8 +203,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"TGDWLAWSName": { "TGDWLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -258,8 +212,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"TGDWLAWSShow": { "TGDWLAWSShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -269,8 +221,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"TGRLAWS": { "TGRLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -280,8 +230,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"TGRLAWSName": { "TGRLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -291,8 +239,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"TGRLAWSShow": { "TGRLAWSShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -302,8 +248,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"XCXSSRQLAWS": { "XCXSSRQLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -313,8 +257,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"XCXSSRQLAWSName": { "XCXSSRQLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -324,8 +266,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"XGLC": { "XGLC": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -335,8 +275,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"XGLCName": { "XGLCName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -346,8 +284,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"YYBZZCLAWS": { "YYBZZCLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -357,8 +293,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"YYBZZCLAWSName": { "YYBZZCLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -368,8 +302,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"YYRZLAWS": { "YYRZLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -379,8 +311,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"YYRZLAWSName": { "YYRZLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -390,8 +320,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"YYRZLAWSShow": { "YYRZLAWSShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -401,8 +329,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZCWBLAWS": { "ZCWBLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -412,8 +338,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZCWBLAWSName": { "ZCWBLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -423,8 +347,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZCXSSRQLAWS": { "ZCXSSRQLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -434,8 +356,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZCXSSRQLAWSName": { "ZCXSSRQLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -445,8 +365,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZRBMLAWS": { "ZRBMLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -456,8 +374,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZRBMLAWSName": { "ZRBMLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -467,8 +383,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZRBMLAWSShow": { "ZRBMLAWSShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -478,8 +392,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZRGCSLAWS": { "ZRGCSLAWS": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -489,8 +401,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZRGCSLAWSName": { "ZRGCSLAWSName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -500,8 +410,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"ZRGCSLAWSShow": { "ZRGCSLAWSShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -547,8 +455,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"content": { "content": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -558,8 +464,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"country": { "country": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -569,8 +473,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"countryShow": { "countryShow": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -589,8 +491,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"isRelateAccess": { "isRelateAccess": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -600,8 +500,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"isRelateAccessName": { "isRelateAccessName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -611,8 +509,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"issueCompany": { "issueCompany": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -642,8 +538,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsBulletin": { "lawsBulletin": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -653,8 +547,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsEnName": { "lawsEnName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -664,8 +556,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsLabel": { "lawsLabel": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -675,8 +565,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsLabelName": { "lawsLabelName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -686,8 +574,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsName": { "lawsName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -697,8 +583,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsNo": { "lawsNo": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -708,8 +592,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsNotisyncNum": { "lawsNotisyncNum": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -724,12 +606,11 @@ laws/laws/_mapping?pretty&include_type_name=true
"type": "keyword", "type": "keyword",
"ignore_above": 256 "ignore_above": 256
} }
} },
"fielddata": true
}, },
"lawsRemark": { "lawsRemark": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -739,8 +620,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsSycx": { "lawsSycx": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -750,8 +629,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsSycxName": { "lawsSycxName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -761,8 +638,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsSyqy": { "lawsSyqy": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -772,8 +647,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsSyqyName": { "lawsSyqyName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -783,8 +656,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsTextState": { "lawsTextState": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -794,8 +665,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsTextStateName": { "lawsTextStateName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -805,19 +674,16 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"lawsType": { "lawsType": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
"ignore_above": 256 "ignore_above": 256
} }
} },
"fielddata": true
}, },
"lawsTypeName": { "lawsTypeName": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
@@ -855,8 +721,6 @@ laws/laws/_mapping?pretty&include_type_name=true
}, },
"type": { "type": {
"type": "text", "type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"fields": { "fields": {
"keyword": { "keyword": {
"type": "keyword", "type": "keyword",
File diff suppressed because it is too large Load Diff