fix:88255
This commit is contained in:
+11
-4
@@ -786,12 +786,19 @@ public class LawsHomeSearchServiceImpl implements ILawsHomeSearchService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private JSONObject getJSON(String s1,String s2){
|
private JSONObject getJSON(String s1,String s2){
|
||||||
|
JSONObject js1 = new JSONObject();
|
||||||
|
js1.put("query",s1);
|
||||||
|
js1.put("boost","0");
|
||||||
|
JSONObject js2 = new JSONObject();
|
||||||
|
js2.put("query",s2);
|
||||||
|
js2.put("boost","0");
|
||||||
|
|
||||||
JSONObject json1 = new JSONObject();
|
JSONObject json1 = new JSONObject();
|
||||||
JSONObject json2 = new JSONObject();
|
JSONObject json2 = new JSONObject();
|
||||||
Map<String,String> map11 = new HashMap<>();
|
Map<String,Object> map11 = new HashMap<>();
|
||||||
Map<String,String> map12 = new HashMap<>();
|
Map<String,Object> map12 = new HashMap<>();
|
||||||
map11.put("resource_type",s1);
|
map11.put("resource_type",js1);
|
||||||
map12.put("standard_state",s2);
|
map12.put("standard_state",js2);
|
||||||
JSONObject match11 = new JSONObject();
|
JSONObject match11 = new JSONObject();
|
||||||
JSONObject match12 = new JSONObject();
|
JSONObject match12 = new JSONObject();
|
||||||
match11.put("match",map11);
|
match11.put("match",map11);
|
||||||
|
|||||||
Reference in New Issue
Block a user