sentry-docs
sentry-docs copied to clipboard
Search doesn't prioritize results in current scope
Steps to Reproduce
This is just an example:
- Go to https://docs.sentry.io/platforms/dotnet/
- In the search box, type
AttachStackTrace - Observe the results
Expected Result
Since I am searching from
Home > Platforms > .NET
... The first result should go to the AttachStackTrace property documentation under
Home > Platforms > .NET > Configuration > Basic Options
Which is here: https://docs.sentry.io/platforms/dotnet/configuration/options/#attach-stacktrace
Actual Result
The first result is to the copy of this doc that is for the ASP.NET Core integration under
Home > Platforms > .NET > ASP.NET Core > Configuration > Basic Options
Thus, clicking it takes me out of the docs section I was already in, and into a different section. Sometimes it's the section I want, but sometimes it's completely irrelevant. Now when I go look for other things, I have to go back to the main docs. The context switch is jarring.
Also notice that the second and third items in the search results go to docs for completely different languages (PHP and Go). This seems weird. I would expect either to see other results within the section I'm already at, or maybe some cross-site result from sentry-basics or developer docs, but results from other languages should be deprioritized.
Additional Info
No response
This isn't urgent, just wanted to report it somewhere so that it can be eventually addressed.