-6

Lately I wanted to find a question which a specific user had asked. I still could remember his name and some text from the title. Is it possible to search questions by user name, with something like

javascript user:john doe

Or could I find the question any other way?

17
  • 1
    MSE: How do I search a specific user's answers?
    – Tomerikoo
    Commented Sep 2, 2021 at 12:00
  • 1
    See How do I search?: "User Operators" Commented Sep 2, 2021 at 12:00
  • If you only know the username, use this to get the id: Can I find a user's user_id with only their username for a Stack Exchange profile?
    – Tomerikoo
    Commented Sep 2, 2021 at 12:02
  • 5
    Note that with generic names (john being a perfect example), there's typically a ridiculous amount of accounts with that name. There's about 91548 accounts that match a search for "john", so unless you have something more concrete, you're gonna have a bad time Commented Sep 2, 2021 at 12:05
  • hm, the username is very common, there are over 2000 users with this name :( Commented Sep 2, 2021 at 12:06
  • Yes Zoe, there are lots of users, but I hoped to get at the question with the help of some title word I could remember. Commented Sep 2, 2021 at 12:07
  • Jeanne, so I need the user ID, but I do not know this, and getting it seems difficult. Okay, it was worth a try. Commented Sep 2, 2021 at 12:09
  • 1
    That's not much to go on though. If it's a generic question by a generic user on a generic tag, you'll probably have to bite the bullet and dig through search results. Alternative B, if you visited the question recently, is to search your browser history. But trying to find the question is probably gonna be a lot easier than trying to find the user Commented Sep 2, 2021 at 12:14
  • 4
    If you remember the explicit text from their question, you could search on your favourite search engine, and encapsulate the explicit text and their username in separate quotes: For example: "John Doe" "When the value is a NULL like" site:stackoverflow.com
    – Thom A
    Commented Sep 2, 2021 at 12:19
  • @Larnu in addition, you can also restrict the results to a time frame, if you know when the question was from. For example, last 3 months or something.
    – VLAZ
    Commented Sep 2, 2021 at 12:20
  • Hi VLAZ, Zoe, I don't have a time frame and unfortunately no browser history either. I know it is an unusual case. :( Commented Sep 2, 2021 at 12:23
  • Hi Zoe, the problem is, I only remember vaguely some phrase of the title which returns about 250000 results. Perhaps with the help of the user name, there would be only 100 results or so. Commented Sep 2, 2021 at 12:26
  • Did you interact with the question in any way? Comment? Flag? Upvote? If so, then look at in your activitye under the relevant action.
    – Thom A
    Commented Sep 2, 2021 at 12:28
  • Hi Larnu, no, unfortunately not. Commented Sep 2, 2021 at 12:34
  • Thank you, Larnu, I could not find the question on search engine either, but nice hint. Commented Sep 2, 2021 at 13:09

1 Answer 1

3

There's no built-in way to filter results just by a username for a user whose specific account you can't find. As some of the commenters have shown, you can search for the user's username with or without quotation marks, but your results will vary wildly. The more information you can add as a filter or search parameter, the better your chances will be. For example, if you know one or more of the tags used for the question (e.g. ), that has the potential to greatly reduce the number of search results to potentially just a hundred or a few hundred, which is doable if you really need to find that question.

Knowing some of the words used in the question or title can also help, since you can put them in quotation marks to return results that only match that literal string.

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