Skip to content

Commit

Permalink
chore: remove unnecessary indices build process for lucene on startup (
Browse files Browse the repository at this point in the history
…#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
移除启动时不必要的搜索引擎索引构建步骤
```
  • Loading branch information
guqing authored Feb 5, 2024
1 parent 06a44d0 commit 7341f9d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
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;
Expand Down

0 comments on commit 7341f9d

Please sign in to comment.