Ask Your Question

Search for "author" of question or answers

asked 2011-06-06 17:26:26 -0500

Benoit's avatar

updated 2011-06-06 20:10:10 -0500

It would be nice to have the ability to search for questions or answers that a specific user has written, in a fashion similar to tags.

Yes, you can go to a user profile, but it is simply a list of q/a (which tops at 100 entries). It is not searchable.

Maybe a special separator would identify a user match; for example:

[johnny]Some Topics

would only match questions with Some Topics that have user johnny as an author.


would show all questions/answers that johnny participated in.

I like the idea of using a "standard" notation like @user or #tag.

One thing to keep in mind: a username could actually have a space in it, especially with a LDAP type login, when the user name can be changed. Would have to deal with this eventuality - or disallow spaces in usernames.

A secondary point: Is the matching on username exact (i.e. must match) or could we do a partial match?

edit retag flag offensive close merge delete


In django actually spaces in the user name are not allowed - how about ldap login names? I think login names will be forced to be one word.
Evgeny's avatar Evgeny  ( 2011-06-07 00:37:45 -0500 )edit
what about tags, allow multiword tags or not? It seems that if tags were to be converted into hierarchical taxonomy, they would have to be multiword at least occasionally. Or is it better to out of principle have tags just one word?
Evgeny's avatar Evgeny  ( 2011-06-07 00:40:17 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-06-06 18:01:29 -0500

Evgeny's avatar

A syntax for search query... How about @johny for the user match and #sometag or /sometag for a tag match?

Maybe it would be better to borrow from some well known convention - like twitter's hashtags and mentions?

edit flag offensive delete link more


tried to post a comment and got a "close" pop-up. Probably is an exception in the logs. Using chrome too. More js headaches?
Benoit's avatar Benoit  ( 2011-06-06 20:11:03 -0500 )edit
Dunno, the comments seem to be working for me. Please let me know if you see more of these.
Evgeny's avatar Evgeny  ( 2011-06-07 01:19:01 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-06-06 17:26:26 -0500

Seen: 121 times

Last updated: Jun 06 '11