You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sometimes the most obvious stuff doesn't seem obvious until someone points it out! I'm amazed the README doesn't have an example for that!
It's as simple as re-adding the document with the same id. XapianFu will see that the document already exists in the db and do a replace instead of an add.
If you're not setting your own ids, you can get the id as you add them like this:
I'm having trouble figuring out how to update a document. Could you please provide some documentation or at least comment on this issue? Thanks!
The text was updated successfully, but these errors were encountered: