Improve search quality with BM25 path_terms and word tokenizer#3
Merged
Conversation
… symbol extraction)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
path_terms필드 +word_lower토크나이저 추가, title은 word tokenizer로 전환 (body는 ngram_2_2 유지)text_prep헬퍼로 식별자/path write-time 전처리 (camelCasesplit, path separator → 공백)trait_item/type_item심볼 추출 추가INDEX_VERSION5 → 6으로 범프 (자동 풀 리빌드)Results
0-hit 3건(
incremental indexing fallback,RRF reciprocal rank fusion,search modal state machine) 모두 해소되어 rank 2~5로 진입.git revwalk topological commit1건만 7→9로 소폭 회귀.Test Plan
cargo test(222 passed, 0 failed)cargo clippy --all-targets -- -D warningscargo run --release --bin glc -- index --force(407 docs)cargo run --release --bin glc -- report --out result.md(지표 비교)git revwalk회귀를 후속 라운드(RRF k 튜닝,embed_textpath prepend, 모듈 docstring 청크)에서 처리할지 결정Design / Plan
docs/superpowers/specs/2026-05-26-search-quality-improvements-design.mddocs/superpowers/plans/2026-05-26-search-quality-improvements.md