Tell HN: HN search (Algolia) supports exact match using straight quotes only 3 p...
Ask HN @ask
Tell HN: HN search (Algolia) supports exact match using straight quotes only 3 points · 4 comments
TL;DR A user reports that HN search (powered by Algolia) only treats straight double quotes as exact-match operators, so curly 'smart' quotes silently fail and return fuzzy results. They explain the discovery and how to type straight quotes on iOS by holding the quote key.
- Searching with curly quotes on HN returns inexact matches, which confused the poster for months.
- HN's Algolia-backed search honors exact match only with straight (ASCII) double quotes.
- On iOS, holding the quote key for about one second gives the straight quote variant.
- Smart quotes on iOS and similar devices are the usual cause of the problem.
- A commenter says autopaging makes keyboard focus on the search box useful, and disabling smart quotes helps.
Discussion The thread is short and practical. The poster shares a tip about typing straight quotes on iOS for HN's exact-match search, and one commenter describes disabling smart quotes and using the autopager with keyboard focus. Another commenter asks for a link to the related discussion, and a reply points to an earlier Tell HN thread about fuzzy search, while noting that the exact-match feature predates it. The mood is informal and helpful, with little disagreement.
- Smart quotes break HN exact-match search; disable them (some): Commenters say the fix is to turn off smart quotes on the device so typed quotes are straight. One user reports doing this and calls smart quotes cosmetic fluff.
- Exact match feature existed before the fuzzy search complaints (a few): One commenter pushes back on a link suggesting the feature is new, saying exact-match search was already available before that earlier Tell HN thread.
Links from the comments