X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/8977f8cc3d8706f65ea1068168c1c2ba3a598a34..beaa665a9aa20ec266bf7011da326ea95e869457:/doc/todo/different_search_engine.mdwn diff --git a/doc/todo/different_search_engine.mdwn b/doc/todo/different_search_engine.mdwn index 0eab6a8b8..81cb04539 100644 --- a/doc/todo/different_search_engine.mdwn +++ b/doc/todo/different_search_engine.mdwn @@ -27,6 +27,8 @@ one" kind of search. --[[Joey]] >>> it. Thank you java.. The C++ version seems like a better choice to me >>> (packages are trivial). --[[Joey]] +> Might I suggest renaming the "search" plugin to "hyperestraier", and then creating new search plugins for different engines? No reason to pick a single replacement. --[[JoshTriplett]] +
Index: IkiWiki/Plugin/search.pm =================================================================== @@ -64,20 +66,20 @@ Index: IkiWiki/Plugin/search.pm + sub import { #{{{ - hook(type => "getopt", id => "hyperestraier", -- call => \&getopt); +- call => \&getopt); - hook(type => "checkconfig", id => "hyperestraier", + hook(type => "checkconfig", id => "plucene", - call => \&checkconfig); + call => \&checkconfig); - hook(type => "pagetemplate", id => "hyperestraier", -- call => \&pagetemplate); +- call => \&pagetemplate); - hook(type => "delete", id => "hyperestraier", + hook(type => "delete", id => "plucene", - call => \&delete); + call => \&delete); - hook(type => "change", id => "hyperestraier", + hook(type => "change", id => "plucene", - call => \&change); + call => \&change); - hook(type => "cgi", id => "hyperestraier", -- call => \&cgi); +- call => \&cgi); } # }}} -sub getopt () { #{{{