From 1f897c8c6b81d237bfaf161504fabce629aa8f89 Mon Sep 17 00:00:00 2001 From: royalhuang Date: Thu, 9 Jan 2025 12:18:20 +0800 Subject: [PATCH] =?UTF-8?q?pref:=20=E6=97=A5=E5=BF=97=E6=A8=A1=E5=9D=97ES?= =?UTF-8?q?=E5=AD=98=E5=82=A8=E6=80=A7=E8=83=BD=E4=BC=98=E5=8C=96=20#7091?= =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E4=BA=A7=E7=94=9F=E5=AD=98=E5=82=A8?= =?UTF-8?q?=E7=9A=84=E5=AD=97=E6=AE=B5=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/kotlin/com/tencent/devops/log/util/ESIndexUtils.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/ci/core/log/biz-log/src/main/kotlin/com/tencent/devops/log/util/ESIndexUtils.kt b/src/backend/ci/core/log/biz-log/src/main/kotlin/com/tencent/devops/log/util/ESIndexUtils.kt index 4f9dbcb5e51..fe731c4f82b 100644 --- a/src/backend/ci/core/log/biz-log/src/main/kotlin/com/tencent/devops/log/util/ESIndexUtils.kt +++ b/src/backend/ci/core/log/biz-log/src/main/kotlin/com/tencent/devops/log/util/ESIndexUtils.kt @@ -56,8 +56,8 @@ object ESIndexUtils { .startObject("containerHashId").field("type", "keyword").endObject() .startObject("stepId").field("type", "keyword").endObject() .startObject("executeCount").field("type", "keyword").endObject() - .startObject("logType").field("type", "text").endObject() - .startObject("message").field("type", "text") + .startObject("logType").field("type", "keyword").endObject() + .startObject("message").field("type", "keyword") .field("index", false) .endObject() .endObject()