Zum Inhalt springen

search

Returns search.

Type: SearchResults!

Arguments

  • groupBySysType: Boolean — False returns one flat list by rank. Default: grouped by sys-type when no sys-type filter is set.
  • groupLimit: Int — Maximum hits per sys-type when grouped by sys-type (no sys-type filter). With a sys-type filter it turns on the per-sys-type groups (which sys-types have hits). Defaults to limit.
  • groupSysTypes: [SysType!] — With groupLimit: sys-types that keep their own group. Hits of every other sys-type are merged into one remainder group of groupLimit hits (best rank first). Default: every sys-type keeps its own group.
  • keywords: String — Keywords for the operation.
  • limit: Float — Maximum number of results to return.
  • maxStatusInactiveLevel: Float — default: 5 — Max status inactive level for the operation.
  • mode: SearchMode — Mode for the operation.
  • objectType: String — Object type identifier for the new or filtered object.
  • parentID: UID — UID of the parent to retrieve.
  • sysType: SysType — Sys type for the operation.
  • sysTypes: [SysType!] — Sys types for the operation.
query($groupBySysType: Boolean, $groupLimit: Int, $groupSysTypes: [SysType!], $keywords: String, $limit: Float, $maxStatusInactiveLevel: Float, $mode: SearchMode, $objectType: String, $parentID: UID, $sysType: SysType, $sysTypes: [SysType!]) {
search(groupBySysType: $groupBySysType, groupLimit: $groupLimit, groupSysTypes: $groupSysTypes, keywords: $keywords, limit: $limit, maxStatusInactiveLevel: $maxStatusInactiveLevel, mode: $mode, objectType: $objectType, parentID: $parentID, sysType: $sysType, sysTypes: $sysTypes) {
groups {
hasMoreData
sysType
}
hasACLFiltered
hasMoreData
items {
highlightSnippet
id
matchedTokens
nameHighlight
rank
}
nextPageOffset
totalCount
}
}