[Xapian-discuss] WritableDatabase::replace_document and PERL

Olly Betts olly at survex.com
Sat Aug 20 18:14:23 BST 2005


On Fri, Aug 19, 2005 at 12:00:45PM -0400, Colin B. Thomas wrote:
> How do I specify that I want the:
> 
> WritableDatabase::replace_document(const std::string &unique_term, const
> Xapian::Document &document) implementation
> 
> As opposed to:
> 
> WritableDatabase::replace_document(Xapian::docid did, const
> Xapian::Document &document) implementation

The former is wrapped as "replace_document_by_term".  Similarly the
delete_document variant is "delete_document_by_term".

This isn't documented, except in Changes (and the XS source code).
I'll fix that.

Cheers,
    Olly



More information about the Xapian-discuss mailing list