Red Hat Training

A Red Hat training course is available for Red Hat Satellite

27.2. Method: advancedWithActKey

Description

Advanced method to search lucene indexes with a passed in query written in Lucene Query Parser syntax, additionally this method will limit results to those which are associated with a given activation key. Lucene Query Parser syntax is defined at lucene.apache.org. Fields searchable for packages include: name, epoch, version, release, arch, description, summary.

Example 27.2. Lucene query example

name:kernel AND version:2.6.18 AND -description:devel
Parameters

The following parameters are available for this method:

  • string sessionKey
  • string luceneQuery - A query written in the form of Lucene Query Parser Syntax
  • string actKey - Activation key containing packages
Returns

The following return values are available for this method:

  • array:
    • struct - package overview
      • int id
      • string name
      • string summary
      • string description
      • string version
      • string release
      • string arch
      • string epoch
      • string provider