mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 12:59: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, username
for rolesadmin
andsupport
- Types
jobId, jobName
for roleuser
- Examples:
jobName:myJob12
jobId:123456
username: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
type
is unknown - More than two colons in string -> 'malformed'
- Spaces trimmed (both for searchTag and queryString)
job12
==job12
projectID : 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.