This module provides an object that parses a string
containing a Boolean query expression similar to an AltaVista simple
query. Elements of the query expression may be assigned weights.
Its base class is Text::Query::Parse;
Query expressions are compiled into an internal form when a new object is
created or the prepare method is called; they are not recompiled on each
Query expressions consist of words (sequences of non-whitespace)
or phrases (quoted strings) separated by whitespace. Words or phrases
prefixed with a + must be present for the expression to match; words or
phrases prefixed with a - must be absent for the expression to match.
Words or phrases may optionally be followed by a number in parentheses (no
whitespace is allowed between the word or phrase and the parenthesized
number). This number specifies the weight given to the word or phrase.
If a weight is not given, a weight of 1 is assumed.