NAME
DBIx::Class::IndexSearch::Dezi
VERSION
Version 0.05
SYNOPSIS
package
MyApp::Schema::Person;
__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
},
=> {
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'
});
SUBROUTINES/METHODS
belongs_to_index ( $class, $webservice_class, \%parameters )
This sets up the the webservice to use and maps the webservice index to the DB.
index_key_exists ( $class, $key )
Find if the key exists as a registered index field.
register_column ( $class, $webservice_class, \%parameters )
Override to the register_column method. Add any "indexed" fields we want to search against Dezi.
set_index_field ( $class, $key, $value )
Setter wrapper to register an indexed field.
webservice ( $class )
Returns a webservice object.
AUTHOR
Logan Bell, <loganbell at gmail.com>
BUGS
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.
SUPPORT
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
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
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.