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 | |
Edwin Kempin | b07a4f9 | 2017-01-04 12:59:25 +0100 | [diff] [blame^] | 25 | [[is]] |
| 26 | [[is-visibleToAll]] |
| 27 | is:visibleToAll:: |
| 28 | + |
| 29 | Matches groups that are in the groups options marked as visible to all |
| 30 | registered users. |
| 31 | |
Edwin Kempin | a45b072 | 2017-01-03 16:15:01 +0100 | [diff] [blame] | 32 | [[name]] |
| 33 | name:'NAME':: |
| 34 | + |
| 35 | Matches groups that have the name 'NAME' (case-insensitive). |
| 36 | |
Edwin Kempin | e661af0 | 2017-01-04 12:00:33 +0100 | [diff] [blame] | 37 | [[owner]] |
| 38 | owner:'UUID':: |
| 39 | + |
| 40 | Matches groups that are owned by a group that has the UUID 'UUID'. |
| 41 | |
Edwin Kempin | 6cfbb29 | 2017-01-04 09:40:50 +0100 | [diff] [blame] | 42 | [[uuid]] |
| 43 | uuid:'UUID':: |
| 44 | + |
| 45 | Matches groups that have the UUID 'UUID'. |
| 46 | |
| 47 | == Magical Operators |
| 48 | |
| 49 | [[is-visible]] |
| 50 | is:visible:: |
| 51 | + |
| 52 | Magical internal flag to prove the current user has access to read |
| 53 | the group. This flag is always added to any query. |
| 54 | |
| 55 | [[limit]] |
| 56 | limit:'CNT':: |
| 57 | + |
| 58 | Limit the returned results to no more than 'CNT' records. This is |
| 59 | automatically set to the page size configured in the current user's |
| 60 | preferences. Including it in a web query may lead to unpredictable |
| 61 | results with regards to pagination. |
| 62 | |
| 63 | GERRIT |
| 64 | ------ |
| 65 | Part of link:index.html[Gerrit Code Review] |
| 66 | |
| 67 | SEARCHBOX |
| 68 | --------- |