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


DBIx-Class-Indexed documentation  | view source Contained in the DBIx-Class-Indexed distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    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

Top

METHODS

Top

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

Top

* Adam Paynter <adapay@cpan.org>
* Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Top


DBIx-Class-Indexed documentation  | view source Contained in the DBIx-Class-Indexed distribution.