Search util

For the most up-to-date documentation, please visit docs.brix.ch

Allows to search in CELUM with a specified syntax similar to the Anura API search syntax.

Search Syntax

  • node (long[]) - node IDs to restrict the search to, e.g. node=123&node=987
  • folder (int) - celum ID of the folder to restrict the search to, DEPRECATED -> use node
  • keyword (int[]) - celum ID of the keyword to restrict the search to, multiple keywords (AND search) may be specified using search_keyword=1&search_keyword=2, DEPRECATED node
  • node_startswith (string) - nodes that starts with term to restrict the search, e.g. node_startswith=bla
  • node_contains (string) - nodes that contains term to restrict the search, e.g. node_contains=blub
  • node_type (long) - node type IDs (e.g. 105,106)
  • node_recursive (boolean) - search in subnodes as well, default is true
  • noderef (boolean) - search in noderefs as well, default is true
  • node_or_mode (boolean) - connect different search node terms with OR, default is AND
  • images (boolean) - show images in result
  • documents (boolean) - show documents in result
  • videos (boolean) - show videos in result
  • audios (boolean) - show audios in result
  • others (boolean) - show others in result
  • asset_type (long) - asset type IDs (e.g. 3000,4000)
  • extensions (string[]) - search by file extension, e.g. search_extensions=png,eps
  • id (list of long) - search particular assets via their ID
  • uploaded_before (string) - restrict results to assets uploaded before this date
  • uploaded_after (string) - restrict results to assets uploaded after this date
  • modified_before (string) - restrict results to assets modified before this date
  • modified_after (string) - restrict results to assets modified after this date
  • infofield (int,mixed...[]) - search by information field value, syntax: ,[,...] - e.g. search_infofield=7,true
  • or_mode (boolean) - connect different search terms with OR, default is AND
  • facets (int) - return facets (if a facet-provider is installed), 0 = disabled (default), 1 = only facets, 2 = facets and assets

Example:

node=123&node=345&node_startswith=bla&node_contains=blub&node_type=101,102&node_recursive=true

[GET]

Release Notes

1.0.0

Released 2020-01-22

Initial version.