fix(memory): lock Elasticsearch metadata.tags mapping - #103
Open
openjiuwen-sync-bot[bot] wants to merge 2 commits into
Open
fix(memory): lock Elasticsearch metadata.tags mapping#103openjiuwen-sync-bot[bot] wants to merge 2 commits into
openjiuwen-sync-bot[bot] wants to merge 2 commits into
Conversation
|
flyman986250 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
openjiuwenai
force-pushed
the
sync/pr-188
branch
from
August 7, 2026 08:34
f0890a0 to
2d15e53
Compare
|
head_sha: check-pr |
openjiuwenai
force-pushed
the
sync/pr-188
branch
from
August 7, 2026 09:18
607ec1f to
2d15e53
Compare
|
head_sha: check-pr |
| # ES 的 date_detection 会在 dynamic_templates 匹配前把 | ||
| # "2025-12-31" 这类标签识别为 date,导致同一字段的 | ||
| # keyword/date mapping 冲突。 | ||
| "properties": {"tags": {"type": "keyword"}}, |
There was a problem hiding this comment.
head_sha: 2d15e535d5d09bbe06c5ea62e83a51f751d966ad
metadata内只有tags字段吗?是否存在其他字段会出现类似的问题,如果存在,建议统一关闭date_detection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Paired: GitHub #103 ↔ GitCode !188
修复内容
修复 Elasticsearch
metadata.tags动态 mapping 冲突:日期格式标签不再被推断为date,显式固定为keyword。变更范围
metadata.tags为keywordput_mapping补齐验证
test_dyn_ext_003.py通过,真实抽取产生到期时间:2025-12-31标签并成功写入 EStest_dyn_ext_009.py通过,日期标签和普通标签连续写入成功已错误映射为
date的历史索引需要新建 index 后从 KV 真源重建,代码不会自动删除线上索引。Refs: #110
Linked Closing Issues: