Edwin Kempin | 6cfbb29 | 2017-01-04 09:40:50 +0100 | [diff] [blame] | 1 | = Gerrit Code Review - Searching Groups |
| 2 | |
| 3 | Group queries only match internal groups. External groups and system |
| 4 | groups are not included in the query result. |
| 5 | |
| 6 | [[search-operators]] |
| 7 | == Search Operators |
| 8 | |
| 9 | Operators act as restrictions on the search. As more operators |
| 10 | are added to the same query string, they further restrict the |
| 11 | returned results. |
| 12 | |
Edwin Kempin | c109ec1 | 2017-01-04 11:09:09 +0100 | [diff] [blame^] | 13 | [[description]] |
| 14 | description:'DESCRIPTION':: |
| 15 | + |
| 16 | Matches groups that have a description that contains 'DESCRIPTION' |
| 17 | (case-insensitive). |
| 18 | |
Edwin Kempin | a45b072 | 2017-01-03 16:15:01 +0100 | [diff] [blame] | 19 | [[inname]] |
| 20 | inname:'NAMEPART':: |
| 21 | + |
| 22 | Matches groups that have a name part that starts with 'NAMEPART' |
| 23 | (case-insensitive). |
| 24 | |
| 25 | [[name]] |
| 26 | name:'NAME':: |
| 27 | + |
| 28 | Matches groups that have the name 'NAME' (case-insensitive). |
| 29 | |
Edwin Kempin | 6cfbb29 | 2017-01-04 09:40:50 +0100 | [diff] [blame] | 30 | [[uuid]] |
| 31 | uuid:'UUID':: |
| 32 | + |
| 33 | Matches groups that have the UUID 'UUID'. |
| 34 | |
| 35 | == Magical Operators |
| 36 | |
| 37 | [[is-visible]] |
| 38 | is:visible:: |
| 39 | + |
| 40 | Magical internal flag to prove the current user has access to read |
| 41 | the group. This flag is always added to any query. |
| 42 | |
| 43 | [[limit]] |
| 44 | limit:'CNT':: |
| 45 | + |
| 46 | Limit the returned results to no more than 'CNT' records. This is |
| 47 | automatically set to the page size configured in the current user's |
| 48 | preferences. Including it in a web query may lead to unpredictable |
| 49 | results with regards to pagination. |
| 50 | |
| 51 | GERRIT |
| 52 | ------ |
| 53 | Part of link:index.html[Gerrit Code Review] |
| 54 | |
| 55 | SEARCHBOX |
| 56 | --------- |