blob: 21b91c31c1c0e2bf1dab737f1cf09e564448c430 [file] [log] [blame]
Edwin Kempin6cfbb292017-01-04 09:40:50 +01001= Gerrit Code Review - Searching Groups
2
3Group queries only match internal groups. External groups and system
4groups are not included in the query result.
5
6[[search-operators]]
7== Search Operators
8
9Operators act as restrictions on the search. As more operators
10are added to the same query string, they further restrict the
11returned results.
12
Edwin Kempinc109ec12017-01-04 11:09:09 +010013[[description]]
14description:'DESCRIPTION'::
15+
16Matches groups that have a description that contains 'DESCRIPTION'
17(case-insensitive).
18
Edwin Kempina45b0722017-01-03 16:15:01 +010019[[inname]]
20inname:'NAMEPART'::
21+
22Matches groups that have a name part that starts with 'NAMEPART'
23(case-insensitive).
24
Edwin Kempinb07a4f92017-01-04 12:59:25 +010025[[is]]
26[[is-visibleToAll]]
27is:visibleToAll::
28+
29Matches groups that are in the groups options marked as visible to all
30registered users.
31
Edwin Kempina45b0722017-01-03 16:15:01 +010032[[name]]
33name:'NAME'::
34+
35Matches groups that have the name 'NAME' (case-insensitive).
36
Edwin Kempine661af02017-01-04 12:00:33 +010037[[owner]]
38owner:'UUID'::
39+
40Matches groups that are owned by a group that has the UUID 'UUID'.
41
Edwin Kempin6cfbb292017-01-04 09:40:50 +010042[[uuid]]
43uuid:'UUID'::
44+
45Matches groups that have the UUID 'UUID'.
46
47== Magical Operators
48
49[[is-visible]]
50is:visible::
51+
52Magical internal flag to prove the current user has access to read
53the group. This flag is always added to any query.
54
55[[limit]]
56limit:'CNT'::
57+
58Limit the returned results to no more than 'CNT' records. This is
59automatically set to the page size configured in the current user's
60preferences. Including it in a web query may lead to unpredictable
61results with regards to pagination.
62
63GERRIT
64------
65Part of link:index.html[Gerrit Code Review]
66
67SEARCHBOX
68---------