On a similar note, has anyone tried performing large volumes of changes on the original files, and then running some sort of update on basex (perhaps that what add or replace do and I haven't read far enough ahead yet)? I haven't had much time to try it yet, and my hopes of a re-index recognizing file changes doesn't seem to work.
My system will need regular updates from third party data sources, and I'd like to separate bulk operations and maintenance off to python so I am free to take down the db and still perform maintenance without writing one script for when the db is live and another for when it isn't.