4
$\begingroup$

Is it possible to search in comments, along with searching in questions and answers? I suspect the answer is no. I think that would be a very useful option to have in the advanced search.

$\endgroup$
  • 5
    $\begingroup$ For what would that be a useful option? Comments generally are transient and should not carry vital information. $\endgroup$ – ACuriousMind May 23 '17 at 17:14
  • $\begingroup$ For example--sometimes they have useful links that are not in the answers. $\endgroup$ – user45664 May 23 '17 at 17:19
  • 1
    $\begingroup$ @user45664 In such cases, those links should be added to the answers. (By "useful" I assume you mean "useful to be included in the answer") $\endgroup$ – David Z May 23 '17 at 21:05
  • $\begingroup$ @David Z How to add to another's answer if not via a comment? $\endgroup$ – user45664 May 24 '17 at 3:39
  • 2
    $\begingroup$ @user45664 By editing. Comments do not add to answers; edits do. (Or, if the author of the answer really doesn't want the links in their answer, you can always post your own, separate answer that includes them.) $\endgroup$ – David Z May 24 '17 at 3:46
5
$\begingroup$

There is no on-site mechanism owning to the intentionally second-class status of comments.

When I really must search comments I use google with the site:physics.stackexchange.com specifier, but you often have to search through a very large number of results. The more comprehensive the list of keywords you can provide the better. Also include the username if you know it (say when searching your own comments).

$\endgroup$
  • $\begingroup$ Do you think there would be any chance of getting this implemented? $\endgroup$ – user45664 May 23 '17 at 17:16
  • 5
    $\begingroup$ No, "owning to the intentionally second-class status of comments". $\endgroup$ – dmckee May 23 '17 at 17:28
  • 3
    $\begingroup$ FWIW, using the google hack with site: is how I search for anything on this site... the built-in search is not great. Unless I have enough information like is:Q and the username I'm looking for or something. $\endgroup$ – tpg2114 May 23 '17 at 17:51
  • 1
    $\begingroup$ If one goes through a lot of effort to find something useful useful in a comment, one might take the initiative to edit that useful information into the attached post (he said in a comment) $\endgroup$ – rob May 23 '17 at 22:37
  • $\begingroup$ @rob via an answer? $\endgroup$ – user45664 May 24 '17 at 3:34
  • 3
    $\begingroup$ @user45664 Or by editing the answer under which the comment appears. Depends on the context. A lot of comments—though helpful—are not substantive enough to make a answer all on their own. $\endgroup$ – dmckee May 24 '17 at 5:10
4
$\begingroup$

As an alternative to dmckee's answer, which is generally quite reliable, if you can't find what you're looking for, then variants of this Data Explorer query might help.

$\endgroup$

You must log in to answer this question.

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