This repository was archived by the owner on Dec 4, 2017. It is now read-only.
docs(search): proposal for a new search experience using DocSearch 📄 #2377
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
This PR is a proposal to change the default search feature of https://angular.io to DocSearch.
We believe this change offers a better search experience for AngularJS developers than the
current search feature.
DocSearch is built by Algolia. It's free. You do not have to maintain it. We built it as a community effort
to bring good documentation search to developer communities. It is installed on 160+ websites,
maybe you already used it while browsing https://facebook.github.io/react/ or http://vuejs.org/api/.
@maxiloc and @vvo (me) did the DocSearch integration for angular.io, we work at @algolia.
Here's a demo of how it looks:

Differences with the current search:
/docs/dart
then you only get the relevant search results for this language.ngnodule
, we correct that tongmodule
architecture components
will directly scroll toguide/architecture.html#components
angular.io search index is replicated in 10 regions in the world like any DocSearch index, bringing good search performance to most users.
If the ranking does not meet your expectations, we can tune it. I am sure, as AngularJS developers, you already know what would be a perfect ranking/display for a good search. We can tune it in many ways but we believe it could be ok for a first start.
I hope you appreciate this PR and the work we put on making the search on https://angular.io/ AWESOME :)