Issue 866: Fulltext search (incl commit msgs? comments?)
Status:  Released
Owner: ----
Closed:  Feb 2014
Reported by carol.nichols@gmail.com, Mar 2, 2011
I would love to be able to type in a plain query without a search operator and have that perform a fulltext search. 

I don't know what is available in the gerrit database for searching, but some things that I would like to be able to search in are:

- The "subject" in gerrit (the first line of the git commit message)
- The whole git commit message
- Inline comments made in gerrit
- Review comments made in gerrit 
Jan 12, 2012
#1 jaxel...@referentia.com
Just a note that you can do a search of the commit message using "message:", so for example "message:Fixed  bug 123 " would search for commit messages with the text "Fixed  bug 123 "
Jul 13, 2012
#2 amu...@wikimedia.org
Since your commit message already have a Change-Id field, you can grep git log for it:

 git log some/file.ext | grep Change-Id


Jul 13, 2012
#3 sop@google.com
Grepping git log is a useful suggestion, but this is faster:

  git log --grep="Change-Id: Ic0ffee"


Oct 20, 2013
#4 krinklemail@gmail.com
A search operator for comments would be useful indeed. Aside from this catch-all proposed fulltext search, having comments indexed in the first place and searchable with its own operator would be a good start.
Oct 20, 2013
#5 nemow...@gmail.com
Speaking of "catch-all proposed fulltext search" workarounds, gitblit has such a (lucene-based) search, though with some problems (see e.g. https://code.google.com/p/gitblit/issues/detail?id=87): if it fetched comments and inline comments from gerrit, it could index them. I don't know what this would require.
Feb 14, 2014
Project Member #6 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: Released
Labels: FixedIn-2.8