23

Phase one: I was misspelling the term as 'MVCE' instead of 'MCVE'. It's part of the story; take a chair and listen.

Something I noticed that struck me as wrong and certainly not cute: I needed the link to the MVCE description in a comment. So I went to the help center and typed 'mvce' into the search box. It returned 0 results. I assumed at this point I was misspelling the acronym.

So I went to Google Search and searched 'stackoverflow mvce' since Google is quite good at telling me what I'm really looking for. The first hit was the proper help center page, thankfully. https://stackoverflow.com/help/mcve

Yep, I was misspelling the sucker! It's MCVE, not MVCE. Get off my back, either ordering stems from proper English :)

Phase two: I now stand corrected

So I merrily go back to the help center and this time do the correct search.

Zero results. See for yourself: https://stackoverflow.com/help/search?q=mcve

TL;DR

Am I wrong to think that a search for 'mcve' should at least return the page that literally is called 'mcve'?

6
  • 1
    A search indexer that uses page content to rank results does not produce the same results as an indexer that uses links to page content. A relatively minor insight that created a company worth $365 billion dollars that is still without much competition. Not from Elastic either. Commented Dec 30, 2015 at 12:53
  • @HansPassant sorry, that blew right over my head :) I get that you're describing Google, I just don't get if I should slap you in the face with my glove or not. And I don't have gloves so its going to be a fish.
    – Gimby
    Commented Dec 30, 2015 at 13:11
  • 2
    I'm just telling you that they'll ignore your bug report. If you want to slap somebody then I don't know where you should put your fish. Try google. Commented Dec 30, 2015 at 13:21
  • @HansPassant got it. Actually I wasn't fully expecting anything to be fixed either, just doing my due diligence. And in case you're not a python-enthusiast, being slapped with a fish isn't actually all that bad. youtube.com/watch?v=lefP0_ZM-Lw
    – Gimby
    Commented Dec 30, 2015 at 13:38
  • Looks like the solution was to put this at the very bottom of the mcve page, in subscript: "You may have been told to include a MCVE by some helpful commentatory, or perhaps even an MVCE if they were rushed; sorry for the initialisms, this is what they were referring to."
    – CubeJockey
    Commented Dec 30, 2015 at 15:00
  • Thanks and apologies both to Shog9 for such a swift resolution; the apologies are for me stating I didn't expect it to be fixed, I will be having those words for supper.
    – Gimby
    Commented Dec 30, 2015 at 15:52

2 Answers 2

20

I really would like to have that fixed. But I'll give the search-engine some slack:

not found

The content of the help center does not contain the word MCVE. The only place where mcve is used is in the URL. And based on your and mine observation we have to assume that URLs are not indexed by the search engine on Stack Overflow.

One possible easy fix would be to squeeze the word MCVE somewhere into that text so it does get indexed and with that the page should pop-up as a hit when searched for MCVE.

For example the trick Shog9 performed by adding this to the end of that page:

You may have been told to include a MCVE by some helpful commentatory, or perhaps even an MVCE if they were rushed; sorry for the initialisms, this is what they were referring to.

2
  • Nice one. I actually made a point of not mentioning the search indexing at all even though I was quite tempted to go on the finger pointing tour. The 'bug' part (for lack of a better tag) is only the TL;DR - if you search for MCVE you don't get the MCVE page :) Somebody do something!
    – Gimby
    Commented Dec 30, 2015 at 13:43
  • "How to create a Minimal, Complete, and Verifiable example (or MCVE)" Since I believe most (new) users click on a "MCVE" hotlink from a comment, it could be helpful to have them quickly recognize the initialism.
    – CubeJockey
    Commented Dec 30, 2015 at 13:59
15

I have had the same problem of finding the "mcve" link in the past.

But there's a simpler way to get the link now. You don't need to search that link anymore.

Just type [mcve] in a comment and the link will be embedded automatically and it'll expanded to:

Minimal, Complete, and Verifiable example

When I type:

enter image description here

it becomes:

enter image description here

If you literally see the characters you typed after saving the comment, such as [mvce] (without link being embedded automatically), you know you got it wrong :)


The search facility, in general, on SO is poor and often doesn't return the right results even if we use the correct keywords. My "workaround" is to use Google. Typically I would search it on google with:

my_keywords_here site:stackoverflow.com

This will almost always produce better results than the SO search bar.

2
  • 3
    Yup, just tried this out, what a handy easter egg. Doesn't work in meta though (lol).
    – CubeJockey
    Commented Dec 30, 2015 at 14:35
  • 2
    I know the feature, but that does not change the fact that the help center has a hole for people who are new to the site and actually go looking for what an mcve is. Its not about posting the link, its about finding the page.
    – Gimby
    Commented Dec 30, 2015 at 14:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .