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()