mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-13 04:01:35 +00:00
Merge 1b3319e63a into c1de31ab2c
This commit is contained in:
commit
92dfe91a66
2 changed files with 4 additions and 0 deletions
|
|
@ -48,6 +48,8 @@ reme reindex scope=embedding
|
|||
|
||||
`reindex` rebuilds BM25 and/or embedding indexes from the current `file_chunks`. It does not scan the workspace, rechunk files, or rebuild the wikilink graph. Diagnose the watcher first when ingestion is the problem.
|
||||
|
||||
`reindex` also keeps whatever chunks are already stored. When the chunking behavior itself changes — an upgraded ReMe or edited chunker settings — the stored chunks are reused as they are, so a plain `reindex` cannot refresh them. Re-chunk from the source files instead by clearing the derived chunk state and letting the watchers rescan; see [Recover derived state](#recover-derived-state). Source files are never modified by this recovery.
|
||||
|
||||
Rebuild a daily index page separately:
|
||||
|
||||
```bash
|
||||
|
|
|
|||
|
|
@ -52,6 +52,8 @@ reme reindex scope=embedding
|
|||
|
||||
如果问题发生在文件摄取阶段,应先确认后台 watcher 正常运行;不能把 `reindex` 当成通用“重新扫描”命令。
|
||||
|
||||
`reindex` 同样只会复用已存储的分块。当分块行为本身发生变化时——例如升级 ReMe 或修改了 chunker 配置——旧分块会被原样沿用,此时仅执行 `reindex` 无法刷新它们。正确做法是从源文件重新分块:按下文[从派生状态故障恢复](#从派生状态故障恢复)清理派生状态后让 watcher 重新扫描。该恢复过程不会改动源文件。
|
||||
|
||||
Daily 索引页可单独重建:
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue