From f6c3d7ccf6c80ba704c3d4fdcf07d8f3f1997440 Mon Sep 17 00:00:00 2001 From: Zhichang Yu Date: Tue, 26 Nov 2024 12:00:19 +0800 Subject: [PATCH] Fixed es mapping (#3643) ### What problem does this PR solve? Fixed es mapping ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- conf/mapping.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/mapping.json b/conf/mapping.json index b4331f2be..7f8c4e27e 100644 --- a/conf/mapping.json +++ b/conf/mapping.json @@ -130,7 +130,8 @@ }, { "string": { - "match": "*_(with_weight|list)$", + "match_pattern": "regex", + "match": "^.*_(with_weight|list)$", "mapping": { "type": "text", "index": "false",