1 Currently, ikiwiki indexes the "title" and "link" fields of a page
4 "Z" is for stemmed terms,
5 which xapian inserts itself.
6 Furthermore, the custom field "LINK" should use the "X" prefix.
7 (This is according to the [xapian-omega documentation] [xapian].)
9 I have a [patch][] that fixes this.
11 the wiki should be rebuilt to fix the search index.
13 What problems does the current behaviour cause?
14 Consider the [[tags]] page.
15 ikiwiki indexes the term "ZStags" for its title.
16 xapian stems this and also indexes "ZZStag".
17 (Notice the additional "Z".)
18 Now when [searching for "title:tags"] [search],
19 xapian stems this and searches for "ZStag",
20 and so only finds pages which were indexed by _ikiwiki_ with "ZStag"
21 (i.e. those pages with the singular "tag" in the title).
25 [xapian]: http://xapian.org/docs/omega/termprefixes.html
26 [patch]: http://www.gmcmanus.org/0001-Use-correct-term-prefixes-when-searching.patch
27 [search]: http://ikiwiki.info/ikiwiki.cgi?P=title%3Atags