"where is K2" had no scoring signal at all — "where" is a stopword and "k2" fell under the 3-char term floor, so every sentence tied at zero and the card fell back to the opening line. Fixes: - answer-type hints: a "where" question scores sentences carrying the vocabulary of place, "when" of dates, "who" of attribution. Stems, not whole words — the Telephone intro says "granted a United States patent", never "invented". "is a"/"was a" deliberately excluded, since they match the definitional opening of every article. - term floor down to 2 chars so "K2" and "UK" count. - fetch 3 candidates and choose: an exact title match wins, and a disambiguated title loses unless the query asked for that sense. Search rank alone put "Chernobyl (miniseries)" above the city. Verified 11/11 on live responses by running the generated QML functions. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| audio.nix | ||
| desktop.nix | ||
| hyprland.nix | ||
| locale.nix | ||
| quickshell.nix | ||
| shell.nix | ||
| stylix.nix | ||
| ui.nix | ||
| users.nix | ||