Modify replace_document to accept non-existing docid
By modifying replace_document to add a document using the given docid, if that
docid does not exist, the user can control the docids used by Xapian negating
the need to store a unique term with each document. i.e. change replace_document
to reflect the behaviour in SQL's REPLACE.
Where this would break (Richard Boulton):
"Also, if you combine databases together using Xapian's multidatabase facility,
the Xapian docids will change (an interleaving scheme is used to disambiguate
document identifiers document), which could break software which relies on the
document identifiers being tied more closely to the contents of the document."
Change History
(3)
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Operating System: |
→ All
|
Resolution: |
fixed → released
|
Now implemented in CVS HEAD