Authored by Gino Zhang

更新到ES索引

@@ -92,6 +92,7 @@ public class BaikeSpiderController { @@ -92,6 +92,7 @@ public class BaikeSpiderController {
92 92
93 try { 93 try {
94 suggestConvertorService.insertOrUpdateConversion(source, dest); 94 suggestConvertorService.insertOrUpdateConversion(source, dest);
  95 + suggestConvertorService.addOrUpdateIndex(source);
95 result.put("code", 200); 96 result.put("code", 200);
96 result.put("message", "success"); 97 result.put("message", "success");
97 return result; 98 return result;