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

NAME

DBIx::Class::Indexer - Base class for all indexers compatible with DBIx::Class::Indexed.

SYNOPSIS

    package MySchema::Foo;
    
    use base qw( DBIx::Class );
    
    __PACKAGE__->load_components( qw( Indexed Core ) );
    __PACKAGE__->set_indexer( 'WebService::Lucene', { server => 'http://localhost:8080/lucene/' } );
    
    

DESCRIPTION

METHODS

new( \%connection_info, $class )

Constructs a new instance of this indexer. Passes the index connection information and the table class driving the indexing.

insert( $object )

Handles the insert operation.

update( $object )

Handles the update operation.

delete( $object )

Handles the delete operation.

AUTHOR

  • Adam Paynter <adapay@cpan.org>

  • Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2006 by Adam Paynter, 2007-2011 by Brian Cassidy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.