MCPcopy Index your code
hub / github.com/TruthHun/BookStack / RebuildAllIndex

Method RebuildAllIndex

controllers/ManagerController.go:1067–1070  ·  view source on GitHub ↗

重建全量索引

()

Source from the content-addressed store, hash-verified

1065
1066// 重建全量索引
1067func (this *ManagerController) RebuildAllIndex() {
1068 go models.NewElasticSearchClient().RebuildAllIndex()
1069 this.JsonResult(0, "提交成功,请耐心等待")
1070}
1071
1072func (this *ManagerController) Banners() {
1073 this.Data["SeoTitle"] = "横幅管理"

Callers

nothing calls this directly

Calls 2

NewElasticSearchClientFunction · 0.92
JsonResultMethod · 0.80

Tested by

no test coverage detected