<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>search</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../style.css" type="text/css" /> <link rel="stylesheet" href="../local.css" type="text/css" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../index.html">ikiwiki</a>/ <a href="../plugins.html">plugins</a>/ </span> <span class="title"> search </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p><span class="infobox"> Plugin: search<br /> Author: <span class="createlink">Joey</span><br /> Included in ikiwiki: yes<br /> Enabled by default: no<br /> Included in <a href="./goodstuff.html">goodstuff</a>: no<br /> Currently enabled: no<br /> </span></p> <p>This plugin adds full text search to ikiwiki, using the <a href="http://xapian.org/">xapian</a> engine, its <a href="http://xapian.org/docs/omega/overview.html">omega</a> frontend, and the <a href="http://search.cpan.org/search?mode=dist&query=Search%3A%3AXapian">Search::Xapian</a>, <a href="http://search.cpan.org/search?mode=dist&query=Digest%3A%3ASHA">Digest::SHA</a>, and <a href="http://search.cpan.org/search?mode=dist&query=HTML%3A%3AScrubber">HTML::Scrubber</a> perl modules (on debian, check that you have packages <code>xapian-omega</code>, <code>libsearch-xapian-perl</code>, <code>libdigest-sha-perl</code> and <code>libhtml-scrubber-perl</code> installed).</p> <p>The <a href="../ikiwiki/searching.html">searching</a> page describes how to write search queries.</p> <p>Ikiwiki will handle indexing new and changed page contents. Note that since it only indexes page contents, files copied by the <a href="./rawhtml.html">rawhtml</a> plugin will not be indexed, nor will other types of data files.</p> <p>There is one setting you may need to use in the config file. <code>omega_cgi</code> should point to the location of the omega cgi program. The default location is <code>/usr/lib/cgi-bin/omega/omega</code>.</p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div class="tags"> Tags: <a href="./type/web.html" rel="tag">type/web</a> </div> <div id="backlinks"> Links: <a href="../features.html">features</a> <a href="./google.html">google</a> <a href="../tips/Google_custom_search.html">tips/Google custom search</a> <a href="../tips/optimising_ikiwiki.html">tips/optimising ikiwiki</a> </div> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>