Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Search Functionality #559

Closed
tunetheweb opened this issue Nov 27, 2019 · 5 comments · Fixed by #2273
Closed

Add Search Functionality #559

tunetheweb opened this issue Nov 27, 2019 · 5 comments · Fixed by #2273
Labels
design Creating the Almanac UX development Building the Almanac tech stack enhancement New feature or request
Milestone

Comments

@tunetheweb
Copy link
Member

I think we should have the ability to search this amazing collection of data.

We could use Google Custom Search or similar. I’ve used SiteSearch360 a bit since Google stopped offering to accept money for ad-free version of GCS. Though lot of contributors and some sponsorship coming from Google so that’s probably not a runner.

Or alternatively just use main Google with a site:https://almanac.httparchive.org/en/2019 option. That’s probably the simplest and would also make it easy to change the URL searched and option passed to serve different languages and/or years. For example French pages could search www.google.fr with site:https://almanac.httparchive.org/fr/2019 option.

Or could do something server side?

Thoughts?

@tunetheweb tunetheweb added enhancement New feature or request development Building the Almanac tech stack labels Nov 27, 2019
@tunetheweb tunetheweb added this to the Après Ski milestone Nov 27, 2019
@catalinred
Copy link
Member

I've used https://community.algolia.com/docsearch/ in the past: it's fast, modern and has a very good documentation.

Also, it's used in the wild with success by lots of open-source projects, e.g. https://reactjs.org/

@rviscomi
Copy link
Member

This is a "nice to have" and not business critical so I do encourage us to look into it but not spend a lot of time designing or building an elaborate solution.

@rviscomi rviscomi removed this from the Après Ski milestone Jan 6, 2020
@rviscomi rviscomi added this to the 2019 Backlog milestone Jun 16, 2020
@rviscomi rviscomi modified the milestones: 2019 Backlog, 2020 Backlog Nov 11, 2020
@rviscomi
Copy link
Member

rviscomi commented Apr 28, 2021

Triaging old issues. I think this is still a good feature to add. @tunetheweb are you still thinking of the search action taking the user off-site, or could we implement something server side?

@tunetheweb tunetheweb added the design Creating the Almanac UX label Apr 28, 2021
@tunetheweb
Copy link
Member Author

Would still love to have this! However in my experience site search is used less than you'd think so I still think investing in a back end solution is overkill. Plus natural language processing search might not be as good as the likes of Google Search.

So let's just use Google Search!

Could you sign up for a Web Almanac "Programmable Search Engine" account (formerly known as Google Custom Search). This uses the power of Google Search but allows you to have it surfaced on a page on your site (/search maybe?).

It also means you only have to optimise for SEO once - if it works on Google, it works on your site search.

I see Google have option of ad-free version again! But I'd just sign up for the free, ad-backed version for now. Can decide if we want the ad-free version later. Or could even host ads on this and make a small amount into our Open Collective account?

Anyway I've used this before and it's very easy to set up (basically a bit of JS on the page). So the most difficult decision would be one for the @HTTPArchive/designers as to where to put the search bar on desktop and mobile!

@shantsis
Copy link
Contributor

shantsis commented May 2, 2021

Perhaps for desktop we can show an input or just a button depending on the screen size.
For mobile, it can be within the menu before the select boxes.
web-large
web-small
mobile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Creating the Almanac UX development Building the Almanac tech stack enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants