Fix: handle id as keyword (#14729)

### What problem does this PR solve?

Update mapping.json to treat id as a keyword.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Lynn
2026-05-09 17:41:08 +08:00
committed by GitHub
parent 8ac14b597f
commit efe6d23d61
3 changed files with 3 additions and 3 deletions

View File

@@ -92,7 +92,7 @@
{
"kwd": {
"match_pattern": "regex",
"match": "^(.*_(kwd|id|ids|uid|uids)|uid)$",
"match": "^(.*_(kwd|id|ids|uid|uids)|uid|id)$",
"mapping": {
"type": "keyword",
"similarity": "boolean",