[Xapian-discuss] reindexing

Alain Denzler alaindenzler at gmail.com
Mon Oct 24 08:14:20 BST 2011


Hello

I just jumped into xapian, so my question could be quite basic, but I
haven't found anything really useful in the list.

I'm using xapian to make a fulltext search on our local servers,
including some pdf's and doc files, but also our own filetypes. Anyway,
I managed to write an indexer in php and it works fine.
My problem is however, that I have to reindex everything when just one
document is changed. Also deleted files aren't kicked out of the index.
How can I just index the changes? I read something about these external
unique id's, but I don't quite get it, because I would need this id
before doing anything on the database, which means I would have to
search the database to check if a file was updated? Or do I have to
store the indexed files'id's in an external db to check for changes?
This seems quite strange..

Any help would be appreciated.

Alain




More information about the Xapian-discuss mailing list