-
2007-08-14
nschoot
When searching, dokuwiki reports Matching Pagenames. It shows the page titles for each matching page, of which some show no match at all with the given keyword.
The underlying reason is that the search (or indexer?) works with page id's (the filename.txt) instead of the actual page title (which is mostly the first caption of the page). During the lifetime of a page, the title may be tweaked several times - Sometimes (often) even to improve findability!
The result is that expected results are not shown, reducing the "trust" that people put into the search.
The workaround is to recreate the page with a id that matches the title and replacing all references to that page, which is not exactly nice on a large wiki.
-
2007-08-14
nschoot
To be complete: The indexer should only use titles instead of id's when the configuration is has ---> $conf['useheading'] = 1;
(Which is the default)
-
2007-08-14
nschoot
Did some research. It's "search_pagename" in search.php that does a "Quicksearch" by simply looking for a matchin filename. That could be made more advanced.
-
2007-08-14
ach
Just a little nitpicking ;-) ... 0 is the default for $conf['useheading'], not 1.
-
2007-08-14
nschoot
Sorry, remembered that wrong then ;-)
-
2007-08-14
nschoot
disregard my previous "research". I think the quick page search is done in fulltext.php (function ft_pageLookup())
-
2008-01-18
andi
now always shows the pageid