Debian Codegraph @

README

raw
1 Search-QueryParser version 1.0
2 ==============================
3
4 This module parses a query string into a data structure to be handled
5 by external search engines. For examples of such engines, see
6 File::Tabular and Search::Indexer.
7
8 The query string can contain simple terms, "exact phrases", field
9 names and comparison operators, '+/-' prefixes, parentheses, and
10 boolean connectors.
11
12 The parser can be parameterized by regular expressions for specific
13 notions of "term", "field name" or "operator" ; see the "new"
14 method. The parser has no support for lemmatization or other term
15 transformations : these should be done externally, before passing the
16 query data structure to the search engine.
17
18 The data structure resulting from a parsed query is a tree of terms
19 and operators, as described in the "parse" method. The interpretation
20 of the structure is up to the external search engine that will receive
21 the parsed query ; the present module does not make any assumption
22 about what it means to be "equal" or to "contain" a term.
23
24 INSTALLATION
25
26 To install this module type the following:
27
28 perl Makefile.PL
29 make
30 make test
31 make install
32
33 DEPENDENCIES
34
35 None
36
37 RELATED MODULES
38
39 File::Tabular (management of flat text files containg data organised
40 in rows and columns) and Search::Indexer (full-text indexing)
41 make use of the present module.
42
43 COPYRIGHT AND LICENCE
44
45 Copyright (C) 2005 by Laurent Dami.
46
47 This library is free software; you can redistribute it and/or modify
48 it under the same terms as Perl itself.
49
50