XapianWritableDatabase__replace_document2 is available since version 1.
Prototype:
number XapianWritableDatabase__replace_document2(number nParam1, param2, string szParam1, string szParam3);
Description:
TODO: Document this
Return value:
Return number