---
title: "Generator: PredicateSearch"
source: https://dev.pageseeder.com/reference/advanced/website/berlioz/generators/org.weborganic.bastille.flint.PredicateSearch.html
last_updated: 2026-08-07T17:09:54+10:00
tokens: ~271
---

# Generator: PredicateSearch

| Property | Value |
| --- | --- |
| Class name: | org.weborganic.bastille.flint.PredicateSearch |
| Version: | 0.6.20 - 26 September 2011 |
| Library: | Bastille |
| Cacheable: | No |
| Generated: | 2012-12-21 |

## Description

Performs a search using a Lucene predicate.

> **Note:** This generator is not designed to be used for production but can be useful during development to determine which query should be used.

### Configuration

This generator does not require any direct configuration but only works if an index has been configured.

### Parameters

This generator requires the following parameter:

| predicate | The Lucene predicate to use for the query |
| --- | --- |

Optional parameters include:

| Index | The name of the index to search. It is possible to search multiple indexes at once by specifying a comma-separated list of index names. |
| --- | --- |
| Page | The result page, the page size is 1000 results per page |

### XML output

The XML output is a basic Flint query response. Search results are sorted by relevance.

