Class orion.search.GSearchClient
				
				
			
				Provides API for searching the workspace or under a certain folder.
				
				
					
Defined in:  </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.ui/web/orion/gSearchClient.js>.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| 
								orion.search.GSearchClient(options)
							 Creates a new global search client. | 
| Method Attributes | Method Name and Description | 
|---|---|
| cancel()
								 | |
| convert(jsonData, searchParams)
								 | |
| search(searchParams, Callback, generateMeta)
								 Runs a search and displays the results under the given DOM node. | 
					Class Detail
				
				
				
						orion.search.GSearchClient(options)
				
				
				
					Creates a new global search client.
					
				
				
				
				
				
					
						- Parameters:
- {Object} options
- The options object
- {orion.serviceregistry.ServiceRegistry} options.serviceRegistry
- The service registry
- {orion.fileClient.FileClient} options.fileClient
- The file client that provide search API
					Method Detail
				
				
					 
					
					
					
					cancel()
					
					
					
					
					
					convert(jsonData, searchParams)
					
					
					- Parameters:
- jsonData
- searchParams
					
					
					search(searchParams, Callback, generateMeta)
					
					
					
						Runs a search and displays the results under the given DOM node.
						
						
					
					
					
					
						
							- Parameters:
- {Object} searchParams
- The search parameters.
- {Function(JSONObject)} Callback
- function that receives the results of the query.
- generateMeta