The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Search::Query::Dialect::KSx::Compiler - KinoSearch query extension

SYNOPSIS

    # see KinoSearch::Search::Compiler

METHODS

This class isa KinoSearch::Search::Compiler subclass . Only new or overridden methods are documented .

new( args )

Returns a new Compiler object.

make_matcher( args )

Returns a Search::Query::Dialect::KSx::WildcardScorer object.

get_searchable

Returns the Searchable object for this Compiler.

get_doc_freq

Returns the document frequency for this Compiler.

get_lex_terms

Returns array ref of the terms in the lexicon that matched.

apply_norm_factor( factor )

Overrides base class. Currently just passes factor on to parent method.

get_boost

Returns the boost for the parent Query object.

sum_of_squared_weights

Returns imact of term on score.

normalize()

Affects the score of the term. See KinoSearch::Search::Compiler.

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:

ACKNOWLEDGEMENTS

Based on the sample PrefixQuery code in the KinoSearch distribution.

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.