[Xapian-discuss] Re: [Xapian-devel] Usage with PHP

James Aylett james-xapian at tartarus.org
Sun Jul 24 22:24:35 BST 2005


On Sun, Jul 24, 2005 at 04:37:47PM -0400, Jacob Mahoney wrote:

> Yes, whenever someone decides to edit their post (or I as the admin need
> to edit a post), the original search keywords for that particular post,
> and replaced with the new modified post.  That's how phpBB works.  I'll
> try the bindings to see if they work anyway.  The only thing that may be
> cumbersome is adding 9000+ posts to the Xapian search system, and
> automatically removing them from the search system during forum pruning
> (yes, one of the forms on my site has auto-pruning enabled).

Pruning may be harder - replacing documents can be handled by
scriptindex, if you make its unique term be the integer primary key of
the post table. scriptindex will also make it easier to add the
initial 9000 posts into the Xapian database.

James

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list