gerrit/Documentation/user-search-projects.txt
Edwin Kempin 5815a78397 Document 'inname' and 'description' search operators for project queries
Change-Id: I28456352ff81b00e49be2312985741e84333f6ed
Signed-off-by: Edwin Kempin <ekempin@google.com>
2017-10-13 13:54:25 +02:00

49 lines
1.1 KiB
Plaintext

= Gerrit Code Review - Searching Projects
[[search-operators]]
== Search Operators
Operators act as restrictions on the search. As more operators
are added to the same query string, they further restrict the
returned results.
[[name]]
name:'NAME'::
+
Matches projects that have exactly the name 'NAME'.
[[inname]]
inname:'NAME'::
+
Matches projects that a name part that starts with 'NAME' (case
insensitive).
[[description]]
description:'DESCRIPTION'::
+
Matches projects whose description contains 'DESCRIPTION', using a
full-text search.
== Magical Operators
[[is-visible]]
is:visible::
+
Magical internal flag to prove the current user has access to read
the projects and all the refs. This flag is always added to any query.
[[limit]]
limit:'CNT'::
+
Limit the returned results to no more than 'CNT' records. This is
automatically set to the page size configured in the current user's
preferences. Including it in a web query may lead to unpredictable
results with regards to pagination.
GERRIT
------
Part of link:index.html[Gerrit Code Review]
SEARCHBOX
---------