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

NAME

SWISH::Prog::KSx::Indexer - Swish3 KinoSearch indexer

SYNOPSIS

 use SWISH::Prog::KSx::Indexer;
 my $indexer = SWISH::Prog::KSx::Indexer->new(
    config      => SWISH::Prog::Config->new(),
    invindex    => SWISH::Prog::KSx::InvIndex->new(),
    
 );

DESCRIPTION

SWISH::Prog::KSx::Indexer is a KinoSearch-based indexer class for Swish3.

METHODS

Only new and overridden methods are documented here. See the SWISH::Prog::Indexer documentation.

init

Implements basic object set up. Called internally by new(). If you override this method, be sure to call SUPER::init(@_) or the equivalent.

process( doc )

Overrides base method to parse the doc (a SWISH::Prog::Doc object) with the SWISH::3 parse_buffer() method.

finish

Calls commit() on the internal KinoSearch::Indexer object, writes the swish.xml header file and calls the superclass finish() method.

get_ks

Returns the internal KinoSearch::Index::Indexer object.

AUTHOR

Peter Karman, <karman at cpan.org>

BUGS

Please report any bugs or feature requests to bug-swish-prog-ksx at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SWISH-Prog-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 SWISH::Prog::KSx

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2009 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.