Skip to content

enhance: add index optimization guidance - #1906

Open
chasingegg wants to merge 3 commits into
zilliztech:mainfrom
chasingegg:codex/index-optimization-skill
Open

chasingegg wants to merge 3 commits into
zilliztech:mainfrom
chasingegg:codex/index-optimization-skill

Conversation

@chasingegg

@chasingegg chasingegg commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Index optimizations need to account for construction cost and workload-specific search behavior: a smaller final index can still increase build peak memory, and aggregate QPS can hide regressions at different top-k values, filter ratios, or sparse query NNZ.

Add an index-optimization skill and link it from AGENTS.md. The guidance covers build time and peak memory, growing-index insertion, representative query workloads, recall@k by workload, performance at matched recall targets, and reproducible comparisons, with coverage proportional to the change and available resources.

Fixes #1905

Validation:

  • pre-commit run --files AGENTS.md .agents/skills/index-optimization/SKILL.md passed (C++ formatting skipped: no applicable files).
  • Skill metadata validation, relative Markdown links, the CLAUDE.md import, and git diff --cached --check passed.
  • Documentation-only change; no C++ build or runtime tests were needed.

Signed-off-by: chasingegg <chao.gao@zilliz.com>
@sre-ci-robot

Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chasingegg

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@chasingegg

Copy link
Copy Markdown
Collaborator Author

/kind improvement

Signed-off-by: chasingegg <chao.gao@zilliz.com>
Signed-off-by: chasingegg <chao.gao@zilliz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add shared guidance for index optimization evaluation

2 participants