mirror of
				https://github.com/ClusterCockpit/cc-backend
				synced 2025-11-04 01:25:06 +01:00 
			
		
		
		
	
		
			
				
	
	
	
		
			1.1 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.1 KiB
		
	
	
	
	
	
	
	
Docs for ClusterCockpit Searchbar
Usage
- Searchtags are implemented as 
type:<query>search-string- Types 
jobId, jobName, projectId, usernamefor rolesadminandsupport - Types 
jobId, jobNamefor roleuser - Examples:
jobName:myJob12jobId:123456username:abcd100
 
 - Types 
 - If no searchTag used: Best guess search with the following hierarchy
jobId -> username -> projectId -> jobName
 - Simple HTML Error if ...
- Best guess search fails -> 'Not Found'
 - Query 
typeis unknown - More than two colons in string -> 'malformed'
 
 - Spaces trimmed (both for searchTag and queryString)
job12==job12projectID : abcd==projectId:abcd
 - jobId-Query now redirects to table
- Allows multiple jobs from different systems, but with identical job-id to be found
 
 - jobName-Query works with a part of the jobName-String (e.g. jobName:myjob for jobName myjob_cluster1)
- JobName GQL Query is resolved as matching the query as a part of the whole metaData-JSON in the SQL DB.