[dokuwiki] Re: Indexing of modified pages

On Thu, 19 Jul 2007 20:17:16 -0400
"TNHarris" <telliamed@xxxxxxxxxxx> wrote:

> 
> On Thu, 19 Jul 2007 08:21:12 -0400, "Todd Augsburger"
> <todd@xxxxxxxxxxxxxxxx> said:
> > Is there any attempt to "remove" items from the indexes when pages
> > are modified? (or removed?) I find that after significant
> > modification, searches 
> > return "phantom" page results where key words no longer exist
> > within the page.
> 
> Some people might consider that a "bug"... And I'm one of them.
> 
> I had just noticed that myself a few days ago. Try this patch that I
> just finished up.

I'll have a look at it. A small tip: to get patches applied quicker
give some details on how they work and what exact condiditon they fix.
I can work that out from the code itself but it takes more time.

> Something else that occurs to me, why does io_readFile doesn't use
> file_get_contents ? The advantages (memory mapping, no extra copy)
> seem worth it, and if we want to support PHP<4.3, it's easy enough to
> emulate.

Hmm must be left over cruft from earlier releases when we still
supported PHP<4.3. I'll fix that.

Andi

-- 
http://www.splitbrain.org

Other related posts: