2008-07-21 13:31:57 +02:00
|
|
|
[[!template id=plugin name=search author="[[Joey]]"]]
|
2008-10-09 22:58:25 +02:00
|
|
|
[[!tag type/web]]
|
2006-08-23 07:41:07 +02:00
|
|
|
|
2008-06-03 21:29:54 +02:00
|
|
|
This plugin adds full text search to ikiwiki, using the
|
2008-06-04 06:38:40 +02:00
|
|
|
[xapian](http://xapian.org/) engine, its
|
2008-06-04 21:24:05 +02:00
|
|
|
[omega](http://xapian.org/docs/omega/overview.html) frontend, and the
|
2010-07-31 21:54:25 +02:00
|
|
|
[[!cpan Search::Xapian]], [[!cpan Digest::SHA]], and [[!cpan HTML::Scrubber]]
|
2012-12-18 17:16:53 +01:00
|
|
|
perl modules (on debian, check that you have packages `libsearch-xapian-perl`, `libdigest-sha-perl` and `libhtml-scrubber-perl` installed).
|
2008-06-04 21:24:05 +02:00
|
|
|
|
|
|
|
The [[ikiwiki/searching]] page describes how to write search queries.
|
2006-05-03 23:50:39 +02:00
|
|
|
|
2008-06-04 07:24:23 +02:00
|
|
|
Ikiwiki will handle indexing new and changed page contents. Note that since
|
|
|
|
it only indexes page contents, files copied by the [[rawhtml]] plugin will
|
|
|
|
not be indexed, nor will other types of data files.
|
2006-09-18 22:53:17 +02:00
|
|
|
|
2008-06-03 21:29:54 +02:00
|
|
|
There is one setting you may need to use in the config file. `omega_cgi`
|
|
|
|
should point to the location of the omega cgi program. The default location
|
|
|
|
is `/usr/lib/cgi-bin/omega/omega`.
|