Peter Karman

NAME

Search::Query::Field::KSx - query field representing a KinoSearch field

SYNOPSIS

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

DESCRIPTION

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

METHODS

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

init

Available params are also standard attribute accessor methods.

type

The column type. This may be a KinoSearch::FieldType object or a simple string.

is_int

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

analyzer

Set to a KinoSearch::Analysis::Analyzer-based object (optional).

AUTHOR

Peter Karman, <karman at cpan.org>

BUGS

Please report any bugs or feature requests to bug-search-query-dialect-ksx at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Search-Query-Dialect-KSx. 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::Dialect::KSx

You can also look for information at:

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.