[Xapian-discuss] PHP indexing, what's the PHP method for indexscript

Olly Betts olly at survex.com
Thu Jan 24 02:03:32 GMT 2008


On Thu, Jan 17, 2008 at 12:25:57PM -0800, athlon athlonf wrote:
> So...I should probably use replace_document if I "update" existing documents? 

Yes, although you can get away without doing so when reindexing from
scratch, assuming there are no duplicates in an indexing run.

Someone recently benchmarked (the discussion was on this mailing list),
and there's a significant overhead to checking the uid term.  It's
something I'm intending to look into, but I don't have a lot of spare
time at the moment...

Cheers,
    Olly



More information about the Xapian-discuss mailing list