Skip to content

Commit 17be068

Browse files
committed
docs(elk): add missing version field
此字段在刚开始接入 es 时就已经存在(PR: #513). 因为 es 中设置了 `dynamic: true` 故一直没有报错,但为了更好的健壮性, 对其进行补全. 不影响现有索引, 无需 `reindex`, 但如果企业是刚开始接入 cnpm, 那设置下会更好. Signed-off-by: Kevin Cui <bh@bugs.cc>
1 parent 05b3b79 commit 17be068

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/elasticsearch-setup.md

+4
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,10 @@ PUT cnpmcore_packages
600600
"normalizer": "raw",
601601
"type": "keyword"
602602
},
603+
"version": {
604+
"normalizer": "raw",
605+
"type": "keyword"
606+
},
603607
"versions": {
604608
"index": false,
605609
"type": "text"

0 commit comments

Comments
 (0)