Fantastic implementation of search for DN.
Things I dig about it:
The live search makes it seem lightning fast ⚡️
Much better UX for filters (it currently requires a selection plus an extra button press before sorting, which seems clunky)
Past week, etc. is great, because most of the time, I'm trying to find a recent link, not a post from 4+ years ago. Possibly even a more precise date filter could be useful?
All in all, definitely an improvement on the existing search, and I'd love to see something like this implemented on DN.
Thanks again for spending the time to put this together! We'd love to gather user feedback via this post so @everyone feel free to leave your thoughts or comments about how this would improve search on DN.
This is awesome!
Unfortunate that it's taken so long to update that a user had to make their own solution.
We're actually working to implement this further down the line. That's why we're looking for feedback, so while we understand the frustration with the lack of updates to the front end-we are actively working on things.
So wait, are users going to come up with fixes to the site, and then you will integrate them?
No. We're working together with Clément and Algolia to fix the search problem. We will still integrate it into the site ourselves, as well as every other feature we're currently working on.
If you have any questions or improvements you'd like to see with this implementation just let us know.
This is a mega improvement for DN
Huge improvement - thanks!
I just tried two example searches it immediately appeared to be improved over the existing search.
O my God, finally! The old/current search is very annoying.
I'll respond to you in NLP too:
that looks great! Thank you.
This is great Clément! I do have one question though, I know Algolia uses a "like" search, so if I search for "sass" I also get terms like "pass." Is there any way to do exact match searches? I tried using quotes but that that didn't work.
Thank you for your feedback!
I just turned on the "advanced syntax" feature, so you should now be able to use
""to do an exact match search (without typo tolerance).
Hm. I tried searching for my user name as an example, in quotes, and for nothing.
Only a few more things I'd love to see; 1. A filter by date range as Matt suggested. 2. A filter by badge/post type.
Thanks for your feedback!
For the 1. it's definitely doable, I will try to find some time to add it to the demo!
For the 2, if you show only the "Stories" from the first select, you have a second filter showing allowing you to filter by post type (AMA, Ask DN, etc...)