feat: There is no way the, es 只更新全部规则排序字段

This commit is contained in:
super_liu
2022-06-13 18:02:02 +08:00
parent 4f285b71bb
commit 9b66e0468c
8 changed files with 466 additions and 0 deletions
@@ -2,6 +2,7 @@ package com.adc.da.search;
import com.adc.da.base.web.BaseController;
import com.adc.da.search.bean.SearchCenter;
import com.adc.da.search.bean.SearchFields;
import com.adc.da.search.server.ResetSearchCenterService;
import com.adc.da.slrs.sarLawsInfo.page.SarLawsInfoEOPage;
import com.adc.da.slrs.sarLawsStandInfo.entity.SarLawsStandInfoPage;
@@ -32,6 +33,13 @@ public class ResetSearchCenterController extends BaseController<Map<String, Obje
@Autowired
private ResetSearchCenterService resetSearchCenterService;
@ApiOperation(value = "|Search|ES规则排序字段重置数据维护ES")
@PostMapping(value = "/resetALLSearchCenterToFields")
public ResponseMessage resetALLSearchCenterToFields(@RequestBody SearchFields searchFields) throws Exception {
return resetSearchCenterService.resetALLSearchCenterToFields(searchFields);
}
@ApiOperation(value = "|Search|文本条件搜索更新标准数据索引")
@PostMapping(value="/resetALLSearchCenterToSearch")
public ResponseMessage resetALLSearchCenterToSearch(@RequestBody SearchCenter searchCenter) throws Exception{