[pmwiki-users] Faster searches and categories

Patrick R. Michaud pmichaud at pobox.com
Mon Sep 12 13:04:03 CDT 2005

On Mon, Sep 12, 2005 at 01:49:45PM -0400, Martin Fick wrote:
> > The indexes are maintained incrementally, as pages are saved.
> > 
> > Creating the initial index of existing pages may take a little 
> > bit of time, but even this can be made to occur "in passes"
> > to avoid timeouts.  
> > ...
> Some clever updating mechanisms indeed.  But these sound
> only optimistic, they do not reduce the worst case scenario
> at all, do they?

What are you meaning by "optimistic" and "worst case scenario"?
If you mean that it doesn't speed up a link= search when no
index exists, then yes, it's as slow as before.  However, it
builds the index in the process, and after that initial hit 
it's optimized again.  It's actually faster than the grep
version, since the system only opens/reads pages of interest
instead of opening/reading them all.

> Does this mechanism work with apges which have not been
> updated since before you added the link= feature (older
> betas)?

It works with any pages created by versions 2.0.devel13 and later
(including all of the 2.0.betas, which came after the devel series).


More information about the pmwiki-users mailing list