chore: remove unnecessary indices build process for lucene on startup (#5332)

#### What type of PR is this?
/kind cleanup
/area core
/milestone 2.13.x

#### What this PR does / why we need it:
移除启动时不必要的搜索引擎索引构建步骤

#### Does this PR introduce a user-facing change?
```release-note
移除启动时不必要的搜索引擎索引构建步骤
```
pull/5301/head^2
guqing 2024-02-05 14:54:13 +08:00 committed by GitHub
parent 06a44d05dc
commit 7341f9de6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -5,11 +5,11 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.event.ApplicationStartedEvent;
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import org.springframework.util.StopWatch;
@Slf4j
@Component
// @Component
// TODO Remove this class on next version
public class IndicesInitializer {
private final IndicesService indicesService;