Enabling the search by parent enables the rewrite of the ListChildProjects REST-API that extracts the children of a project. Using the Lucene index avoids the full scan of the ProjectCache and thus speedup the extraction and reduce the JVM heap consumption. Bug: Issue 10401 Change-Id: I568d6ba0e5a0bff391f57e2357de6d059d77fe5d
		
			
				
	
	
		
			59 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
		
			1.2 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'.
 | 
						|
 | 
						|
[[parent]]
 | 
						|
parent:'PARENT'::
 | 
						|
+
 | 
						|
Matches projects that have 'PARENT' as parent project.
 | 
						|
 | 
						|
[[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.
 | 
						|
 | 
						|
[[state]]
 | 
						|
state:'STATE'::
 | 
						|
+
 | 
						|
Matches project's state. Can be either 'active' or 'read-only'.
 | 
						|
 | 
						|
== 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
 | 
						|
---------
 |