Remove unused index_max_batch_size option to bleve backend. (#112171)

* Remove unused index_max_batch_size option to bleve backend.

* Remove batchSize argument.
This commit is contained in:
Peter Štibraný
2025-10-08 17:04:38 +02:00
committed by GitHub
parent 3f40947cd6
commit 3c6768460c
6 changed files with 14 additions and 22 deletions
-1
View File
@@ -577,7 +577,6 @@ type Cfg struct {
IndexPath string
IndexWorkers int
IndexRebuildWorkers int
IndexMaxBatchSize int
IndexFileThreshold int
IndexMinCount int
IndexRebuildInterval time.Duration
-1
View File
@@ -55,7 +55,6 @@ func (cfg *Cfg) setUnifiedStorageConfig() {
cfg.IndexPath = section.Key("index_path").String()
cfg.IndexWorkers = section.Key("index_workers").MustInt(10)
cfg.IndexRebuildWorkers = section.Key("index_rebuild_workers").MustInt(5)
cfg.IndexMaxBatchSize = section.Key("index_max_batch_size").MustInt(100)
cfg.EnableSharding = section.Key("enable_sharding").MustBool(false)
cfg.QOSEnabled = section.Key("qos_enabled").MustBool(false)
cfg.QOSNumberWorker = section.Key("qos_num_worker").MustInt(16)