From ee7ffaa7ee0d08ae989b6914e420a9d055554c6f Mon Sep 17 00:00:00 2001 From: royalhuang Date: Fri, 10 Jan 2025 10:26:44 +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 --- .../src/main/kotlin/com/tencent/devops/log/util/ESIndexUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 fe731c4f82b..2079606606a 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 @@ -57,7 +57,7 @@ object ESIndexUtils { .startObject("stepId").field("type", "keyword").endObject() .startObject("executeCount").field("type", "keyword").endObject() .startObject("logType").field("type", "keyword").endObject() - .startObject("message").field("type", "keyword") + .startObject("message").field("type", "text") .field("index", false) .endObject() .endObject()