NAME
OpenInteract2::Setup::RequireIndexers - Bring in all indexer classes
SYNOPSIS
my $setup = OpenInteract2::Setup->new( 'require indexers' );
$setup->run();
DESCRIPTION
This setup action subclasses OpenInteract2::Setup::RequireClasses and performs its actions in setup().
Note that except for the 'default' key we expect every entry under the 'fulltext' server configuration key to have a configuration associated with it, like this:
[fulltext DBI]
class = OpenInteract2::FullTextIndexer::DBI
datasource = main
column_group = listing
min_word_length = 3
max_word_length = 30
index_table = full_text_index
class_map_table = full_text_index_class
stem_locale = en
Find all declared full-text indexers from the context method
lookup_fulltext_config()
(sourced by the 'fulltext' server configuration key).Pull out the 'class' reference for each and store it in 'classes' parameter.
Our parent class implements execute()
which calls require()
on every class in the 'classes' parameter.
Setup Metadata
name - 'require indexers'
dependencies - 'create templib'
SEE ALSO
OpenInteract2::Setup::RequireClasses
COPYRIGHT
Copyright (c) 2005 Chris Winters. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHORS
Chris Winters <chris@cwinters.com>