chenyi 1 年之前
父节点
当前提交
417e9e1075
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/test/java/cn/cslg/pas/service/EsServiceTests.java

+ 1 - 1
src/test/java/cn/cslg/pas/service/EsServiceTests.java

@@ -66,7 +66,7 @@ public class EsServiceTests {
 
     @Test
     void search() throws Exception {
-        List<Patent> list = esService.Search("patentNo=CN201199922Y and simpleFamilyNum>1 or simpleFamilyNum=0", 0, 50,null);
+        List<Patent> list = esService.esSearch("patentNo=CN201199922Y and simpleFamilyNum>1 or simpleFamilyNum=0", 0, 50,null);
 //        List<Patent> list = esService.Search("titleTextContent=电子 or projectId=1", 0, 50,null);
 //        List<Patent> list = esService.Search("patentNo=CN201199922Y and simpleFamilyNum>1", 0, 50,null);
 //        List<Patent> list = esService.Search("publicDate=2009-03", 0, 50,null);