feat:There is no way the
This commit is contained in:
+2
@@ -288,8 +288,10 @@ public class SearchCenterServiceImpl implements SearchCenterService {
|
||||
if(json instanceof org.json.JSONArray){
|
||||
fields = JSONObject.parseArray(collectAttrMap.get(field).toString(),String.class);
|
||||
}else {
|
||||
if(!json.equals("null")){
|
||||
fields.add(collectAttrMap.get(field).toString());
|
||||
}
|
||||
}
|
||||
if(!fields.isEmpty()){
|
||||
for (String str : fields) {
|
||||
boolQueryBuilderMust.must(QueryBuilders.wildcardQuery(keyWordField, "*"+str+"*"));
|
||||
|
||||
Reference in New Issue
Block a user