altair823
8781c6112b
task(A1): builder baseline + sqlite version + snapshot locations
Task A1 step 1-3 완료. plan A5 의 baseline 노트 슬롯 채움.
핵심 발견:
- build_match_string() (lexical.rs:177-200): trim → strip_single_quotes
raw FTS verbatim / 그 외 whitespace split + escape_fts5_token (\"...\"
+ inner doubling) + space join (implicit AND).
- raw mode = single quote '...' 가 trimmed 전체 감쌈 (lexical.rs:167).
- SQLite: rusqlite 0.32 + libsqlite3-sys 0.30.1 bundled (in-tree, SQLite
~3.46.x) → trigram 사용 가능.
- Snapshot: tests/lexical.rs::lexical_snapshot_run_1 + tests/hybrid.rs::
hybrid_snapshot_run_1 (KEBAB_UPDATE_SNAPSHOTS=1 로 regenerate).
inline normalize_bm25_top_score 는 numerical 무관.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>