The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

Chapters

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

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