Documentation
¶
Overview ¶
Package keyword 是 hce 的轻量字面/关键词倒排索引。
用途:补足 dense vector 的字面命中盲区——例如代码 chunk 里只是顺带含 `@RepeatSubmit` 注解,但 chunk 主语义被淹没,纯向量召不回。 倒排索引按 token → chunk_id 维护内存映射,search 时与 vector 结果合并。
索引数据**不持久化**:服务端启动后第一次 search 该 codebase 时按需 lazy 重建 (从 Milvus 拉所有 chunks)。后续 IndexFiles 写入时同步增量更新。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
Index 单个 codebase 的内存倒排
Click to show internal directories.
Click to hide internal directories.