The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Class::DBI::mysql::FullTextSearch - Full Text Indexing for Class::DBI::mysql

SYNOPSIS

  package Film;
  use Class::DBI::mysql::FullTextSearch;

  __PACKAGE__->full_text_search('mysearch' => [qw/title director/];


  package main;

  use Film;

  my @films = Film->mysearch('Godfather');

DESCRIPTION

This provides a convenient abstraction to DBIx::FullTextSearch for use with Class::DBI::mysql. It sets up lots of default values for you, handles all the updating of the index when you create, delete or edit values, and provides a simple way for you to create your search method.

You simply call Class->full_text_search('search_method_name' => [qw/columns to index/]); and it will create your search method with the required name.

Simple.

For details on the syntax of the search arguments etc, see DBIx::FullTextSearch.

Later versions will provide ways for you to override any of the defaults, if anyone actually requests it!

SEE ALSO

Class::DBI::mysql. Class::DBI. DBIx::FullTextSearch.

AUTHOR

Tony Bowden and Marty Pauley. <tmtm@kasei.com>.

COPYRIGHT

Copyright (C) 2001 Kasei. All rights reserved.

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