This project has retired. For details please refer to its Attic page.
Apache Lucy™

Apache Lucy recipes

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


  • 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.

  • CustomQuery - Explore Lucy’s support for custom query types by creating a “PrefixQuery” class to handle trailing wildcards.

  • CustomQueryParser - Define your own custom search query syntax using QueryParser and Parse::RecDescent.


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:

Code example for C is missing