about summary refs log tree commit diff stats
path: root/cmd
diff options
context:
space:
mode:
authorAlan Pearce2025-03-27 17:03:10 +0100
committerAlan Pearce2025-03-27 17:03:10 +0100
commitf38ccb5ec8149072c93a6c3173da06ba1d724c4c (patch)
tree9b7d2a560e2dcbcf6fd2599a7ef8f6bd29980b72 /cmd
parent75c2afdf214b0ddc57efe8e621eb172506c0b0f7 (diff)
downloadsearchix-f38ccb5ec8149072c93a6c3173da06ba1d724c4c.tar.lz
searchix-f38ccb5ec8149072c93a6c3173da06ba1d724c4c.tar.zst
searchix-f38ccb5ec8149072c93a6c3173da06ba1d724c4c.zip
feat: make index batch size configurable
Diffstat (limited to 'cmd')
-rw-r--r--cmd/searchix-web/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/searchix-web/main.go b/cmd/searchix-web/main.go
index 20d4a94..061e08d 100644
--- a/cmd/searchix-web/main.go
+++ b/cmd/searchix-web/main.go
@@ -77,6 +77,7 @@ func main() {
 		*replace,
 		&index.Options{
 			LowMemory: cfg.Importer.LowMemory,
+			BatchSize: cfg.Importer.BatchSize,
 			Logger:    logger.Named("index"),
 		},
 	)