NAME

Search::Query::Field::SWISH - query field representing a Swish MetaName

SYNOPSIS

my $field = Search::Query::Field::SWISH->new( 
   name        => 'foo',
   alias_for   => [qw( bar bing )], 
);

DESCRIPTION

Search::Query::Field::SWISH implements field validation and aliasing in SWISH search queries.

METHODS

This class is a subclass of Search::Query::Field. Only new or overridden methods are documented here.

BUILD

Available params are also standard attribute accessor methods.

type

The column type.a

is_int

Set if type matches m/int|num|date/.

AUTHOR

Peter Karman, <karman at cpan.org>

BUGS

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

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

perldoc Search::Query

You can also look for information at:

ACKNOWLEDGEMENTS

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

COPYRIGHT & LICENSE

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.