-
Language:
English
-
Language:
English
Red Hat Training
A Red Hat training course is available for Red Hat Satellite
27.3. Method: advancedWithChannel
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 in the passed in channel label. Lucene Query Parser syntax is defined at lucene.apache.org. Fields searchable for packages include: name
, epoch
, version
, release
, arch
, description
, summary
.
Example 27.3. 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
channelLabel
- Channel Label
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