docs: Algolia search needs to be optimized
Describe the problem that you experienced
When performing a search query on angular.dev, the results often do not show the pages with the highest relevancy for that term.
Example: Search for Dependency Injection. A page with high relevancy would be https://angular.dev/guide/di or https://angular.dev/guide/di/dependency-injection.
The results for this query are:
- Testing Services - Testing services with the TestBed
- Interceptors - Configuring Interceptors
- Common Routing Tasks - LocationStrategy and browser URL styles
- DevTools overview - Visualize resolution paths
- 4 reference results leading to pages about errors, the roadmap and ngModule explanation.
The search experience varies per query. Searching for HttpClient for example does show some results from the HttpClient guide, but those results will direct you to a very specific subsection of the guide, requiring you to navigate/search within the guide to find relevant general info. (e.g. first result for HttpClient is Interceptors - Configuring Interceptors where the overview page https://angular.dev/guide/http would be more relevant as I did not include anything about interceptors in my query).
I'm not familiar with Algolia, but I would expect that they offer a way to add a relevancy weighting to indexed pages for certain search terms.
Enter the URL of the topic with the problem
No response
Describe what you were looking for in the documentation
No response
Describe the actions that led you to experience the problem
No response
Describe what you want to experience that would fix the problem
I would hope to get relevant search results, which require minimal navigating through guides to find relevant info.
Add a screenshot if that helps illustrate the problem
No response
If this problem caused an exception or error, please paste it here
No response
If the problem is browser-specific, please specify the device, OS, browser, and version
No response
Provide any additional information here in as much as detail as you can
No response