Unified storage: Reconstruct index in the background every 24h (#106422)

This commit is contained in:
Stephanie Hingtgen
2025-06-12 14:34:48 -05:00
committed by GitHub
parent 1e41c07920
commit 5135d5c87d
5 changed files with 102 additions and 13 deletions
+5 -4
View File
@@ -33,10 +33,11 @@ func NewSearchOptions(features featuremgmt.FeatureToggles, cfg *setting.Cfg, tra
}
return resource.SearchOptions{
Backend: bleve,
Resources: docs,
WorkerThreads: cfg.IndexWorkers,
InitMinCount: cfg.IndexMinCount,
Backend: bleve,
Resources: docs,
WorkerThreads: cfg.IndexWorkers,
InitMinCount: cfg.IndexMinCount,
RebuildInterval: cfg.IndexRebuildInterval,
}, nil
}
return resource.SearchOptions{}, nil