NAME

Search::Query::Field::Lucy - query field representing a Lucy field

SYNOPSIS

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

DESCRIPTION

Search::Query::Field::Lucy implements field validation and aliasing in Lucy 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. This may be a Lucy::FieldType object or a simple string.

is_int

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

analyzer

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

range_query_class

Defaults to Lucy::Search::RangeQuery.

term_query_class

Defaults to Lucy::Search::TermQuery.

phrase_query_class

Defaults to Lucy::Search::PhraseQuery.

proximity_query_class

Defaults to LucyX::Search::ProximityQuery.

wildcard_query_class

Defaults to LucyX::Search::WildcardQuery.

nullterm_query_class

Defaults to LucyX::Search::NullTermQuery.

anyterm_query_class

Defaults to LucyX::Search::AnyTermQuery.

AUTHOR

Peter Karman, <karman at cpan.org>

BUGS

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

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.