DBIx::Class::IndexSearch::Dezi
Version 0.05
package MyApp::Schema::Person; use base 'DBIx::Class'; __PACKAGE__->load_components(qw[ IndexSearch::Dezi Core ]); __PACKAGE__->table('person'); __PACKAGE__->add_columns( person_id => { data_type => 'varchar', size => '36', }, name => { data_type => 'varchar', indexed => 1 }, email => { data_type => 'varchar', size=>'128', indexed => 1 }, ); __PACKAGE__->resultset_class('DBIx::Class::IndexSearch::ResultSet::Dezi'); __PACKAGE__->belongs_to_index('FooClient', { server => 'http://localhost:6000', map_to => 'person_id' });
This sets up the the webservice to use and maps the webservice index to the DB.
Find if the key exists as a registered index field.
Override to the register_column method. Add any "indexed" fields we want to search against Dezi.
Setter wrapper to register an indexed field.
Returns a webservice object.
Logan Bell, <loganbell at gmail.com>
<loganbell at gmail.com>
Please report any bugs or feature requests to bug-dbix-class-indexsearch-dezi at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=DBIx-Class-IndexSearch-Dezi. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-dbix-class-indexsearch-dezi at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc DBIx::Class::IndexSearch::Dezi
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=DBIx-Class-IndexSearch-Dezi
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/DBIx-Class-IndexSearch-Dezi
CPAN Ratings
http://cpanratings.perl.org/d/DBIx-Class-IndexSearch-Dezi
Search CPAN
http://search.cpan.org/dist/DBIx-Class-IndexSearch-Dezi/
Copyright 2011 Logan Bell.
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.
To install DBIx::Class::IndexSearch::Dezi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class::IndexSearch::Dezi
CPAN shell
perl -MCPAN -e shell install DBIx::Class::IndexSearch::Dezi
For more information on module installation, please visit the detailed CPAN module installation guide.