feat: There is no way the, HHH
This commit is contained in:
@@ -66,6 +66,10 @@ public class ResetSearchCenterService {
|
|||||||
|
|
||||||
@Async
|
@Async
|
||||||
public ResponseMessage resetALLSearchCenter() throws Exception{
|
public ResponseMessage resetALLSearchCenter() throws Exception{
|
||||||
|
Boolean getFulltextserchIndex = elasticsearchService.isIndexExist("fulltextserch");
|
||||||
|
if(getFulltextserchIndex){
|
||||||
|
Boolean deleteFulltextserchIndex = elasticsearchService.deleteIndex("fulltextserch");
|
||||||
|
}
|
||||||
ResponseMessage stand = resetStandSearchCenter(new SarStandardsInfoEOPage());
|
ResponseMessage stand = resetStandSearchCenter(new SarStandardsInfoEOPage());
|
||||||
List<String> r = new ArrayList<>();
|
List<String> r = new ArrayList<>();
|
||||||
if(stand.isOk() && StringUtils.isNotBlank(stand.getData().toString())){
|
if(stand.isOk() && StringUtils.isNotBlank(stand.getData().toString())){
|
||||||
|
|||||||
Reference in New Issue
Block a user