News for hackers. Stuff that matters.
Re:Tell HN: Algolia search stemming issue by diggan on Friday March 23, 2018 @12:10PM (#16659533)
> We've configured the search to disable the prefix search once you press "Enter"

I thought you were joking but it's true. Try removing all characters here: https://hn.algolia.com/?query=china&sort=byPopularity&prefix... and type out "china", look at the bottom results and then press "Enter", now you get different stories.

What awful UX, what was the thinking behind that? People who search for the same thing gets different results, depending on if they actually searched or if they just typed it out.

Re:Tell HN: Algolia search stemming issue by slashvar2701 on Monday March 26, 2018 @05:56AM (#16677772)
No, that's the price of typo tolerance and search-as-you-type, until the user validate the query you have no way to distinguish between prefix and full word.

Search-as-you-type is much more a guide during the search, it shows you a preview of possible results from what you've currently typed both as a whole query and as the beginning of a query.

All other variation are worth: no prefix during search as you type means that you'll have an empty result most of the time or things that are completely irrelevant; keeping prefix on the final search means that you'll see a lot of irrelevant results (especially with typo-tolerance).