NAME
Search::Xapian::QueryParser - Parse a query string into a Search::Xapian::Query object
DESCRIPTION
This module parses a sort-of human readable string into something Xapian can understand. You probably will want to do some preliminary parsing before you hand a string from a real user to this module.
SYNOPSIS
use Search::Xapian qw/:standard/;
my $qp = new Search::Xapian::QueryParser( [$database] );
$qp->set_stemming_options("english",1); # Replace 1 with 0 if you want to disable stemming
$qp->set_default_op(OP_AND);
$database->enquire($qp->parse_string('a word OR two NEAR "a phrase" NOT (too difficult) +eh'));
REFERENCE
http://www.xapian.org/docs/queryparser.html
http://www.xapian.org/docs/sourcedoc/html/classXapian_1_1QueryParser.html
TODO
Implement Xapian::Stopper.