Thanks very much.
On Sun, 25 Jul 2021 at 20:50, Petko Yotov <5...@5ko.fr> wrote: > You're the third person who has asked me about this since 2018. > > I *really* don't have the time and peace to clean up and document this > now but I can release the current draft for download: > > https://www.pmwiki.org/pmwiki/uploads/Cookbook/enhancesearch.php > > It is highly customized for the needs and structure of PmWiki.org. For > other wikis you may need to edit the code itself. > > It is unsupported, until I've had the time to clean it up and to > document it in a Cookbook page. > > I wrote this to prevent "HTTP 500" errors by optimizing and paginating > the search results processing and HTML generation, which for common > words return too many pages and break the server/PHP limits. > > The page names on top, matching or close to the search terms, are to > help the person more easily notice pages that are probably more > relevant, on top, in addition to the ones buried into the alphabetical > list. > > At the bottom, for large numbers of pages, there are links to limit the > search to specific wiki groups, with the numbers of matches per group. > > BTW the PmWiki search is favouring writers, per the PmWiki Philosophy > #1. I'll need and hopefully I'll soon be writing a reader-favouring > search function for semantic weighted results (page titles, section > headings) so the existing one is not a priority for me. > > Don't hold your breath. ;-) > > Petko > > -- > If you upgrade : http://www.pmwiki.org/Upgrades > > > On 25/07/2021 03:54, Simon wrote: > > PmWiki now appears to display as output from (:searchresults:) page and > > group names that contain the search term. > > > > Yet it appears to be using a vanilla (:searchresults:). > > > > How do I get this for my wiki (e.g. > > https://ttc.org.nz/pmwiki/pmwiki.php/TTC/Search) > > > > thanks > > > > Simon >
_______________________________________________ pmwiki-devel mailing list pmwiki-devel@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-devel