27 Feb 2018 08:40:23 UTC
- Distribution: Lucy
- Source (raw)
- Browse (raw)
- How to Contribute
- Clone repository
- Testers (1193 / 3 / 7)
- KwaliteeBus factor: 2
- License: apache_2_0
- Perl: v5.8.3
- Activity24 month
- Download (1.12MB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:6 non-PAUSE usersNWELLNHOF Nick Wellnhoferand 1 contributors
- The Apache Lucy Project <dev at lucy dot apache dot org>
Lucy::Docs::Tutorial - Step-by-step introduction to Apache Lucy.
Explore Apache Lucy’s basic functionality by starting with a minimalist CGI search app based on Lucy::Simple and transforming it, step by step, into an “advanced search” interface utilizing more flexible core modules like Indexer and IndexSearcher.
SimpleTutorial - Build a bare-bones search app using Lucy::Simple.
HighlighterTutorial - Augment search results with highlighted excerpts.
QueryObjectsTutorial - Unlock advanced search features by using Query objects instead of query strings.
The source material used by the tutorial app – a multi-text-file presentation of the United States constitution – can be found in the
sampledirectory at the root of the Lucy distribution, along with finished indexing and search apps.
sample/indexer.pl # indexing app sample/search.cgi # search app sample/us_constitution # corpus
The user is expected to be familiar with OO Perl and basic CGI programming.
The code in this tutorial assumes a Unix-flavored operating system and the Apache webserver, but will work with minor modifications on other setups.
More advanced and esoteric subjects are covered in Cookbook.