Search::Query::Dialect::SWISH - Swish query dialect
my $query = Search::Query->parser( dialect => 'SWISH' )->parse('foo'); print $query;
Search::Query::Dialect::SWISH is a query dialect for Query objects returned by a Search::Query::Parser instance.
The SWISH dialect class stringifies queries to work with Swish-e and Swish3 Native search engines.
This class is a subclass of Search::Query::Dialect. Only new or overridden methods are documented here.
Overrides base method and sets SWISH-appropriate defaults. Can take the following params, also available as standard attribute methods.
Returns the Query object as a normalized string.
Called by stringify() to handle each Clause in the Query tree.
<karman at cpan.org>
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.
You can find documentation for this module with the perldoc command.
You can also look for information at:
This module started as a fork of Search::QueryParser by Laurent Dami.
Copyright 2010 Peter Karman.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.