Chapter 27. Namespace: packages.search
packages.search
27.1. Method: advanced
Advanced method to search lucene indexes with a passed in query written in Lucene Query Parser syntax. Lucene Query Parser syntax is defined at lucene.apache.org. Fields searchable for packages include: name, epoch, version, release, arch, description, summary.
Example 27.1. Lucene query example
name:kernel AND version:2.6.18 AND -description:devel
The following parameters are available for this method:
- string
sessionKey - string
luceneQuery- A query written in the form of Lucene Query Parser Syntax
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

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.