sentry-docs icon indicating copy to clipboard operation
sentry-docs copied to clipboard

Search lists legacy clients before current ones

Open petrkoutnycz opened this issue 3 years ago • 12 comments

Core or SDK?

Platform/SDK

Which part? Which one?

C# client

Description

I was looking for a recommended C# client to use with Sentry product, but the mentioned one (SharpRaven) appears to be deprecated.

Suggested Solution

Recommend the new nuget - https://www.nuget.org/packages/Sentry/

petrkoutnycz avatar Sep 19 '22 13:09 petrkoutnycz

@petrkoutnycz - where did you see this recommendation?

imatwawana avatar Sep 19 '22 13:09 imatwawana

Here: https://docs.sentry.io/clients/csharp/

petrkoutnycz avatar Sep 19 '22 14:09 petrkoutnycz

Routing to @getsentry/team-mobile for triage. ⏲️

getsentry-release avatar Sep 19 '22 21:09 getsentry-release

@getsentry/team-mobile-cross-platform - Making an educated guess that y'all can help with this based on the only other SDK on that page being .NET, but I can only tag Team: Mobile Platform.

imatwawana avatar Sep 19 '22 21:09 imatwawana

That's the page listing legacy clients, is labeled as such, and already says to use the newer .NET SDK in the red box at the top of the page.

image

I'm less interested in changing this page and more interested in how you got there to begin with. Was it as the result of a search? Or were you specifically looking for the older client?

mattjohnsonpint avatar Sep 20 '22 01:09 mattjohnsonpint

@mattjohnsonpint it was a result of search by query "sentry c# client". I dont have any intention in finding legacy clients :-) PS: I dont see any other clients on the website besides legacy ones anyway. Even if I search on your website, I see legacy ones first image

petrkoutnycz avatar Sep 20 '22 06:09 petrkoutnycz

Ouch, yeah it's pretty bad that is the first Search result. Though it also depends which page you are on when you search, but still. Even the main page gives that.

image

On the Google search, it seems the legacy client is listed first and the modern client is listed second.

image

Thanks for reporting this. We have lots of issues with both internal search and SEO, but this one seems pretty important to resolve.

mattjohnsonpint avatar Sep 20 '22 06:09 mattjohnsonpint

@imatwawana - not sure how you want to route this. It's both a docs-search and SEO issue.

mattjohnsonpint avatar Sep 20 '22 06:09 mattjohnsonpint

I changed some of the text on the .NET docs to hopefully change these specific search results, but I still think it highlights some of the issues we have with search in general.

mattjohnsonpint avatar Sep 20 '22 10:09 mattjohnsonpint

@mattjohnsonpint - Just wanna circle back to the original issue that was raised and I'll address the search stuff in a separate comment; should that first link on the legacy client C# page be pointing somewhere else if you someone does still need to use this client?

2022-09-20_10-25-16

imatwawana avatar Sep 20 '22 14:09 imatwawana

So, just searching "clients" somewhat understandably points to the legacy pages because that's where we use that terminology right in the URL. I'll have to do some digging as to the best way to approach the terminology issue and we can talk to the SEO folks about any ideas for improving the Google results. However, when I search "C# client" in the Docs, the first result I get is .NET: 2022-09-20_10-27-16

imatwawana avatar Sep 20 '22 14:09 imatwawana

The nuget link is pointing at the correct place for SharpRaven (the legacy client).

Also, the change I made might have improved some of the search results already, so that is good.

Thanks.

mattjohnsonpint avatar Sep 20 '22 15:09 mattjohnsonpint

This was resolved by fixing the noindex functionality in the SEO component in here: closes https://github.com/getsentry/sentry-docs/pull/7007

Search can respect this settings now: Screenshot 2023-06-14 at 18 05 37

And Google did also pick up on it: Screenshot 2023-06-14 at 18 05 31

stephanie-anderson avatar Jun 14 '23 16:06 stephanie-anderson