Xin Sun | d8dd153 | 2017-07-18 17:13:52 -0700 | [diff] [blame] | 1 | = Gerrit Code Review - Searching Projects |
| 2 | |
| 3 | [[search-operators]] |
| 4 | == Search Operators |
| 5 | |
| 6 | Operators act as restrictions on the search. As more operators |
| 7 | are added to the same query string, they further restrict the |
| 8 | returned results. |
| 9 | |
| 10 | [[name]] |
| 11 | name:'NAME':: |
| 12 | + |
Edwin Kempin | 5815a78 | 2017-10-13 13:53:20 +0200 | [diff] [blame] | 13 | Matches projects that have exactly the name 'NAME'. |
| 14 | |
David Ostrovsky | 30b0a80 | 2019-01-29 20:42:38 +0100 | [diff] [blame] | 15 | [[parent]] |
| 16 | parent:'PARENT':: |
| 17 | + |
| 18 | Matches projects that have 'PARENT' as parent project. |
| 19 | |
Edwin Kempin | 5815a78 | 2017-10-13 13:53:20 +0200 | [diff] [blame] | 20 | [[inname]] |
| 21 | inname:'NAME':: |
| 22 | + |
| 23 | Matches projects that a name part that starts with 'NAME' (case |
| 24 | insensitive). |
| 25 | |
| 26 | [[description]] |
| 27 | description:'DESCRIPTION':: |
| 28 | + |
| 29 | Matches projects whose description contains 'DESCRIPTION', using a |
| 30 | full-text search. |
Xin Sun | d8dd153 | 2017-07-18 17:13:52 -0700 | [diff] [blame] | 31 | |
Patrick Hiesel | 36de336 | 2018-07-06 10:57:52 +0200 | [diff] [blame] | 32 | [[state]] |
| 33 | state:'STATE':: |
| 34 | + |
| 35 | Matches project's state. Can be either 'active' or 'read-only'. |
| 36 | |
Xin Sun | d8dd153 | 2017-07-18 17:13:52 -0700 | [diff] [blame] | 37 | == Magical Operators |
| 38 | |
| 39 | [[is-visible]] |
| 40 | is:visible:: |
| 41 | + |
| 42 | Magical internal flag to prove the current user has access to read |
| 43 | the projects and all the refs. This flag is always added to any query. |
| 44 | |
| 45 | [[limit]] |
| 46 | limit:'CNT':: |
| 47 | + |
| 48 | Limit the returned results to no more than 'CNT' records. This is |
| 49 | automatically set to the page size configured in the current user's |
| 50 | preferences. Including it in a web query may lead to unpredictable |
| 51 | results with regards to pagination. |
| 52 | |
| 53 | GERRIT |
| 54 | ------ |
| 55 | Part of link:index.html[Gerrit Code Review] |
| 56 | |
| 57 | SEARCHBOX |
| 58 | --------- |