zhichyu commited on
Commit
3c2255f
·
1 Parent(s): 4006c52

Fixed es mapping (#3643)

Browse files

### What problem does this PR solve?

Fixed es mapping

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

Files changed (1) hide show
  1. conf/mapping.json +2 -1
conf/mapping.json CHANGED
@@ -130,7 +130,8 @@
130
  },
131
  {
132
  "string": {
133
- "match": "*_(with_weight|list)$",
 
134
  "mapping": {
135
  "type": "text",
136
  "index": "false",
 
130
  },
131
  {
132
  "string": {
133
+ "match_pattern": "regex",
134
+ "match": "^.*_(with_weight|list)$",
135
  "mapping": {
136
  "type": "text",
137
  "index": "false",