1Lucy::Docs::Tutorial(3)User Contributed Perl DocumentatioLnucy::Docs::Tutorial(3)
2
3
4
6 Lucy::Docs::Tutorial - Step-by-step introduction to Apache Lucy.
7
9 Explore Apache LucyXs basic functionality by starting with a minimalist
10 CGI search app based on Lucy::Simple and transforming it, step by step,
11 into an Xadvanced searchX interface utilizing more flexible core
12 modules like Indexer and IndexSearcher.
13
14 Chapters
15 · SimpleTutorial - Build a bare-bones search app using Lucy::Simple.
16
17 · BeyondSimpleTutorial - Rebuild the app using core classes like
18 Indexer and IndexSearcher in place of Lucy::Simple.
19
20 · FieldTypeTutorial - Experiment with different field characteristics
21 using subclasses of FieldType.
22
23 · AnalysisTutorial - Examine how the choice of Analyzer subclass
24 affects search results.
25
26 · HighlighterTutorial - Augment search results with highlighted
27 excerpts.
28
29 · QueryObjectsTutorial - Unlock advanced search features by using
30 Query objects instead of query strings.
31
32 Source materials
33 The source material used by the tutorial app X a multi-text-file
34 presentation of the United States constitution X can be found in the
35 "sample" directory at the root of the Lucy distribution, along with
36 finished indexing and search apps.
37
38 sample/indexer.pl # indexing app
39 sample/search.cgi # search app
40 sample/us_constitution # corpus
41
42 Conventions
43 The user is expected to be familiar with OO Perl and basic CGI
44 programming.
45
46 The code in this tutorial assumes a Unix-flavored operating system and
47 the Apache webserver, but will work with minor modifications on other
48 setups.
49
50 See also
51 More advanced and esoteric subjects are covered in Cookbook.
52
53
54
55perl v5.32.0 2020-07-28 Lucy::Docs::Tutorial(3)