[BUG] Lucene: GPU search codecs ignore the filter cache config on read and don't share a cache

未关闭
#2,705 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@imotov 已经在做这个了。

开始于 2026年9月30日。

评估

这个 Issue 还没有评估数据。

描述

bug Lucene

Describe the bug

When an index is opened from disk, each segment's codec is created with default settings, so a custom FilterBitsetCacheConfig is ignored. Each codec generation also has its own cache with its own memory budget. An index upgraded across Lucene minors (for example 10.3 → 10.4) can therefore use twice the configured cache memory until its old segments are merged away.

Additional context

The problem exists today but adding support for multiple versions of Lucene in #2702 made it more likely to affect users, and should be fixed as #2702 follow up.

Possible fix
Use one cache shared by all GPU search codecs.

主要语言
Cuda
星标
902
派生
267
平均合并
2 天 21 小时
30 天内合并 PR
57

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NVIDIA/cuvs 的其他 Issue

查看 NVIDIA/cuvs 的全部 Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。