chenyi 1 ano atrás
pai
commit
417e9e1075

+ 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);