From 4f14d9b32d2cf2a5bdeb64a5605c5b5ad44cb1a2 Mon Sep 17 00:00:00 2001 From: hengfeiyang Date: Mon, 5 Jun 2023 10:57:06 +0800 Subject: [PATCH] fix: setting not work when create index use ES API --- pkg/handlers/index/create.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/handlers/index/create.go b/pkg/handlers/index/create.go index ef37f0483..09b707c2f 100644 --- a/pkg/handlers/index/create.go +++ b/pkg/handlers/index/create.go @@ -79,9 +79,6 @@ func CreateES(c *gin.Context) { return } - // TODO: migrate ES settings to Zinc specific - newIndex.Settings = nil - // default the storage_type to disk, to provide the best possible integration newIndex.StorageType = "disk"