28

Why can't I find user "Edgar Rokyan"?

The guy exists but even copying and pasting the user name straight from the profile page to the search box fails to find him:

Enter image description here

Google could find it:

Enter image description here

Am I doing something wrong?

7
  • 3
    Search for Edgar Rokyan (two spaces) Commented Dec 17, 2016 at 21:35
  • Same @Bjørn-RogerKringsjå, copy pasted from your comment.
    – gsamaras
    Commented Dec 17, 2016 at 21:36
  • 1
    Type the two spaces. They get collapsed into one in the comment. Commented Dec 17, 2016 at 21:38
  • 37 pages of "Edgar"s but entering his last name worked.
    – Jongware
    Commented Dec 17, 2016 at 21:40
  • That was it, thanks guys. I posted an answer, but anybody wants to post one, go ahead, I will favor it. Especially you, Roger, with the nice link! ;)
    – gsamaras
    Commented Dec 17, 2016 at 21:41
  • 1
  • @Bjørn-RogerKringsjå - that reminds me of a website where userids have to be a minimum of 3 characters, but it allowed me to use 3 spaces (without any other characters). It really confuses the spots where they try to use my display name to create a hyperlink to my user profile! :D
    – YowE3K
    Commented Dec 19, 2016 at 2:13

1 Answer 1

18

The search engine treats:

Edgar  Rokyan

differently from:

Edgar Rokyan

The latter has one space, and not two as the user's name...

11
  • 14
    This should probably be considered a bug, but it is correct.
    – elixenide
    Commented Dec 17, 2016 at 23:15
  • It's all about the πολιτική of the search @EdCottrell. =)
    – gsamaras
    Commented Dec 17, 2016 at 23:21
  • 2
    @EdCottrell why should the user search algorithm care about spaces? It seems to me that the search was correct, and while it may be less than intuitive in such rare circumstances, I don't think there is enough reason to add complexity to the algorithm.
    – user4639281
    Commented Dec 18, 2016 at 3:46
  • 5
    @TinyGiant Well, technically it may be a correct result, but I'd argue it violates user expectations.
    – elixenide
    Commented Dec 18, 2016 at 4:20
  • 12
    @EdCottrell If anything, multiple spaces should be automatically compressed in usernames.
    – user4639281
    Commented Dec 18, 2016 at 6:55
  • 1
    @TinyGiant No argument there.
    – elixenide
    Commented Dec 18, 2016 at 6:56
  • 3
    @tiny "why should the user search algorithm care about spaces" Exactly. It is caring about spaces here, such that it matches the entry with two spaces, but not the entry with only one space. That's the bug.
    – Cody Gray Mod
    Commented Dec 18, 2016 at 11:18
  • @CodyGray, no in that respect it is treating spaces like every other character. If there was two r's in a row and you searched for one, would you expect it to return the correct result?
    – user4639281
    Commented Dec 18, 2016 at 18:19
  • 1
    @TinyGiant Spaces should be treated specially because usernames are displayed in HTML, which collapses spaces due to the default white-space: normal.
    – Oriol
    Commented Dec 19, 2016 at 0:05
  • @Oriol That makes no sense. The search is correct. The fact that multiple spaces are allowed in usernames even though those spaces will never be shown under normal circumstances is the problem here. Why cure the symptom by adding complexity to the search when you can cure the problem by removing unnecessary complexity from the usernames?
    – user4639281
    Commented Dec 19, 2016 at 20:18
  • @TinyGiant I just meant that displaying usernames with collapsed spaces but requiring them to be written uncollapsed in search is not consistent. I'm not opposed to entirely forbidding multiple spaces
    – Oriol
    Commented Dec 19, 2016 at 21:34

You must log in to answer this question.

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