fix(web): search palette — line hits from one page flood results, duplicate rows, exact title match buried #76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
In the search palette (⌘K), a single page can flood the entire first screen of results with one entry per matching line, burying pages whose title exactly matches the query. There are also literal duplicate rows (same page, same line anchor, same snippet).
Found during UAT of v0.9.3 (
zetl serveon the bundled demo-vault).Reproduction
cd demo-vault && zetl serve --port 3777cache.Actual
theories/caching— one row per matching line (#line-2,#line-9,#line-10,#line-26,#line-30,#line-33,#line-38,#line-39,#line-40,#line-41,#line-43,#line-45), each displayed with the same score (1.72).theories/caching/#line-9with the same snippet ("Cache is mtime-based (from architecture/Cache.md)").architecture/cache) first appears at rank 14 — below the fold; a user typing "cache" cannot see it without scrolling.Expected
Environment
zetl 0.9.3,
zetl serve, demo-vault, Chromium 140.