website icon indicating copy to clipboard operation
website copied to clipboard

Implementing Algolia InstantSearch

Open Kosai106 opened this issue 7 years ago • 4 comments

Intro:

We've heard your cries for discoverability, and are proud to make this PR for you!

Not only did we implement search, but we even added voice search (Chrome only) as a little bonus feature because we ❤️ Syntax.fm!

From all of us at Algolia, to all of you. Merry Christmas and happy holidays.

And thanks for the numerous mentions on the podcast!

Features:

  • InstantSearch
  • Voice search
  • Query highlighting
  • Automatic indexing
  • Mobile compatible

Related:

  • https://github.com/wesbos/Syntax/issues/120
  • https://github.com/wesbos/Syntax/pull/168

Kosai106 avatar Dec 26 '18 17:12 Kosai106

thank you so much!

Can I ask if it's possible to show the show notes that match in the search somehow? Sort of like Google Search? If I search for React hooks I want to see where in the show notes they are mentioned

wesbos avatar Jan 02 '19 16:01 wesbos

@wesbos That’s a good idea, we might be able to come up with a solution which should allow for this. It makes sense too considering your current search results also take the show notes into consideration as well.

Kosai106 avatar Jan 03 '19 13:01 Kosai106

Completely forgot to post here: After a lot of internal discussion, we haven't been able to come up with a way of dealing with highlighting inside the show notes currently.

I've already told @wesbos directly in person but figured I'd keep this PR updated with the information as well.

Kosai106 avatar Mar 13 '19 21:03 Kosai106

I feel like the show note highlighting should hold up this PR. Would be nice to get this merged.

I'm assuming all the show notes are indexed? I see the show html is being saved but wonder if the show should be broken up more into separate sections for indexing. Also interesting that this is indexed client side. What was the reason behind that?

itwasmattgregg avatar Feb 21 '21 15:02 itwasmattgregg

We ended up going with flexsearch for the v2 of the site. Thank you

stolinski avatar Aug 17 '23 18:08 stolinski