Kwiki::IndexedSearch - Kwiki Plugin for searching a Kwiki
kwiki -add Kwiki::IndexedSearch
Kwiki::IndexedSearch is a search plugin for Kwiki that inherits from Brian Ingerson's Kwiki::Search Plugin.
In addition to the features if Kwiki::Search, Kwiki::IndexedSearch has the following features:
Kwiki::IndexedSearch can use any loaded Kwiki::Indexer plugins to search the Kwiki. By using indexed searches, search times can be dramatically reduced on large Kwikis.
Kwiki::IndexedSearch adds the ability to display the results of the search inline on your page.
The following fields can be set in config/search_indexed.yaml
search_index: indexer_regex
The class_id of the indexer module to use.
result_template: inline_results.html
The template to use to display results.
methods: search: indexer_regex
The method parameter is a mapping of keywords to search classes.
The example specifies that the wafl keyword search will search using the perform_search method of the class indexer_regex (this is the Kwiki::Indexer::Regex module that ships with the Kwiki::Indexer module).
Using {search:homepage} in your wiki code will result in the list of pages contain the phrase "homepage".
Russell Heilling <chewtoy@s8n.net>
Copyright (c) 2004. Russell Heilling. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install Kwiki::IndexedSearch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Kwiki::IndexedSearch
CPAN shell
perl -MCPAN -e shell install Kwiki::IndexedSearch
For more information on module installation, please visit the detailed CPAN module installation guide.