---
name: "Lucy::Docs::Cookbook"
section: "3pm"
platform: "linux"
package: "liblucy-perl"
version: "0.3.3-7+b1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Lucy::Docs::Cookbook"
---

# Lucy::Docs::Cookbook(3pm)

Apache Lucy recipes.

## NAME

Lucy::Docs::Cookbook - Apache Lucy recipes.

## DESCRIPTION

The Cookbook provides thematic documentation covering some of Apache Lucy's more sophisticated features.  For a step-by-step introduction to Lucy, see Lucy::Docs::Tutorial.

### Chapters

- •

  Lucy::Docs::Cookbook::FastUpdates - While index updates are fast on average, worst-case update performance may be significantly slower. To make index updates consistently quick, we must manually intervene to control the process of index segment consolidation.

- •

  Lucy::Docs::Cookbook::CustomQuery - Explore Lucy's support for custom query types by creating a "PrefixQuery" class to handle trailing wildcards.

- •

  Lucy::Docs::Cookbook::CustomQueryParser - Define your own custom search query syntax using Lucy::Search::QueryParser and Parse::RecDescent.

### Materials

Some of the recipes in the Cookbook reference the completed Tutorial application.  These materials can be found in the `"sample"` directory at the root of the Lucy distribution:

```
    sample/indexer.pl        # indexing app
    sample/search.cgi        # search app
    sample/us_constitution   # corpus
```
