Search::Query - polyglot query parsing


Search-Query documentation  | view source Contained in the Search-Query distribution.

Index


NAME

Top

Search::Query - polyglot query parsing

SYNOPSIS

Top

 use Search::Query;

 my $parser = Search::Query->parser();
 my $query  = $parser->parse('+hello -world now');
 print $query;  # same as print $query->stringify;

DESCRIPTION

Top

This class provides documentation and class methods.

Search::Query started as a fork of the excellent Search::QueryParser module and was then rewritten to provide support for alternate query dialects.

METHODS

Top

parser

Returns a Search::Query::Parser object. See the documentation for Search::Query::Parser for supported query syntax and how to customize the Parser.

get_query_class( name )

Returns a Search::Query::Dialect-based class name corresponding to name. name defaults to 'Native'.

get_dialect( name )

Alias for get_query_class().

AUTHOR

Top

Peter Karman, <karman at cpan.org>

BUGS

Top

Please report any bugs or feature requests to bug-search-query at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Search-Query. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc Search::Query




You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Search-Query

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Search-Query

* CPAN Ratings

http://cpanratings.perl.org/d/Search-Query

* Search CPAN

http://search.cpan.org/dist/Search-Query/

ACKNOWLEDGEMENTS

Top

This module started as a fork of Search::QueryParser by Laurent Dami.

COPYRIGHT & LICENSE

Top


Search-Query documentation  | view source Contained in the Search-Query distribution.