]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/different_search_engine.mdwn
load HTML::Entities at top
[ikiwiki.git] / doc / todo / different_search_engine.mdwn
index 0eab6a8b8f75e8d9a5544b0743293628bb4e1ad3..39f3e3256abf4a3aee43b41eec83ae11c184d335 100644 (file)
@@ -1,6 +1,6 @@
-After using it for a while, my feeling is that hyperestradier, as used in
+After using it for a while, my feeling is that [[hyperestraier]], as used in
 the [[plugins/search]] plugin, is not robust enough for ikiwiki. It doesn't
-upgrade well, and it has a habit of sig-11 on certian input from time to
+upgrade well, and it has a habit of sig-11 on certain input from time to
 time.
 
 So some other engine should be found and used instead. 
@@ -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]]
+
 <pre>
 Index: IkiWiki/Plugin/search.pm
 ===================================================================
@@ -64,20 +66,20 @@ Index: IkiWiki/Plugin/search.pm
 +
  sub import { #{{{
 -       hook(type => "getopt", id => "hyperestraier",
--               call => \&getopt);
+-               call => \&amp;getopt);
 -       hook(type => "checkconfig", id => "hyperestraier",
 +       hook(type => "checkconfig", id => "plucene",
-                call => \&checkconfig);
+                call => \&amp;checkconfig);
 -       hook(type => "pagetemplate", id => "hyperestraier",
--               call => \&pagetemplate);
+-               call => \&amp;pagetemplate);
 -       hook(type => "delete", id => "hyperestraier",
 +       hook(type => "delete", id => "plucene",
-                call => \&delete);
+                call => \&amp;delete);
 -       hook(type => "change", id => "hyperestraier",
 +       hook(type => "change", id => "plucene",
-                call => \&change);
+                call => \&amp;change);
 -       hook(type => "cgi", id => "hyperestraier",
--               call => \&cgi);
+-               call => \&amp;cgi);
  } # }}}
  
 -sub getopt () { #{{{