Skip to main content
32 votes

How are "related" questions selected?

Things have changed a bit since 2009 :-) We rely heavily on Elasticsearch these days. The "related" questions now come from an Elasticsearch "More Like This" query. Elastic uses tf-...
Joel Spolsky's user avatar
  • 29.8k
26 votes
Accepted

The list of related questions is shown empty

As part of the sidebar changes for related questions, there were 2 issues here, which we didn't understand until today. There was a SQL server overload (pegged at 100% for several minutes) when a ...
Nick Craver's user avatar
16 votes
Accepted

Why are there links to answers in the related questions list?

A recent refactor of how we do Elastic searches for related questions was referencing the wrong site (using Current.Site rather than a site passed to the operation) during the refresh process for a ...
Dean Ward's user avatar
  • 9,759
14 votes
Accepted

Related Questions are not being added to new questions anymore, network wide

We temporarily disabled this job last night after some changes to the Elastic search configuration. The people working on it didn't want to re-enable it at the end of the day with nobody around to ...
balpha's user avatar
  • 155k
10 votes

Do related linked questions really need to be linked twice?

Make room to show more related questions For many questions, the "Related" items are just a small selection from a much longer list. Showing items in both lists, "Linked" and "Related", means other ...
trichoplax is on Codidact now's user avatar
10 votes

One request/suggestion for Stack Exchange sites: should show related questions

There's already a "Related" sidebar widget which does more or less what you describe. The questions there are chosen from the top questions in the tags on the current question, more details here: How ...
Glorfindel's user avatar
  • 252k
8 votes
Accepted

The "Related" section in the right sidebar is now completely missing for new questions

Elastic's rebuilding of related questions was causing some issues a little while back and we did some work to stabilize our internal cluster. Fixes have since been deployed but the mechanism and how ...
Nick Craver's user avatar
8 votes
Accepted

"Related questions" section not showing up on new questions

Our Elasticsearch setup fell over last night and it took a while to sort it out. Indexing related questions is a pretty intensive operation, so we disabled it while fixing everything else. It looks ...
Adam Lear's user avatar
  • 159k
8 votes

Titles with MathJax break in the related questions

The issue appears to be that the page's CSS causes the links in the sidebar to be display: flex, and that changes how the children are treated. The content is no longer a paragraph-like structure ...
Davide Cervone's user avatar
5 votes
Accepted

Titles with MathJax break in the related questions

Ok, so the problem was using flex indeed, but instead of replacing it with 'inline' we actually improved flex model a little bit. Why 'flex' instead of 'inline'? It is more flexible for what we need ...
Paweł's user avatar
  • 1,630
5 votes

In Linked/Related questions list mark the questions with a status tag (Meta sites only)

Color's not a great way to distinguish status. (Colorblindness is fairly common, after all.) I suggest that any question with a status-* tag on it be displayed with Italics. That won't change the ...
ale's user avatar
  • 24.8k
5 votes

The same question should not be under both Linked and Related

Extra Suggestion/Request: The staff answer quoted in the question and the body of this question could be addressed if the duplicate links were marked somehow to show they were in both lists, while ...
AncientSwordRage's user avatar
4 votes
Accepted

Infinite loop: list of questions "related" to "removed" question contains the removed question itself

So, funny thing about that: the question listed as related is actually a different question (id 35100) that happens to be closed as a duplicate of the deleted one. It appears you aren't logged in on ...
Adam Lear's user avatar
  • 159k
4 votes

How to get related questions' IDs of a certain question in Stack Overflow?

This information is not available in SEDE (unlike the Linked Questions which are stored in the PostLinks table). Fortunately, we have jQuery. Open the Developer Tools of your browser, go to the ...
Glorfindel's user avatar
  • 252k
4 votes
Accepted

Related questions in the sidebar which are closed as dupe of the question you're currently looking at results in poor UX for anonyomous users

We're passing noredirect=1 now. (It may take a bit for caches to expire)
Michael Stum's user avatar
  • 12.4k
3 votes
Accepted

Show in linked/related questions sidebar whether a question has answers or not

This seems interesting. In the mean time I've made a userscript to do it. This will draw a border around answered questions, and will also set the tooltip to the answer count. It uses the text color ...
Jason C's user avatar
  • 26k
2 votes

How are related questions ordered?

As Joel explains here, Elasticsearch is being used to give the results. So the order is most likely by Relevance, same way search results are ordered. When searching for something, the default sort ...
Shadow Wizard Love Zelda's user avatar
1 vote

How to get related questions' IDs of a certain question in Stack Overflow?

You can use the Stack API for that. The endpoint /questions/{ids}/related returns the related question list. For this question you would use the following link: questions/293458/related?order=...
rene's user avatar
  • 89.7k

Only top scored, non community-wiki answers of a minimum length are eligible