One more approach is to store new documents in a separate database, which can then be merged with the main database.
The is the key then. Is that possible?
Absolutely ;) It can e.g. be realized with the functions in the database module [1] (but this requires some experience with XQuery).
Best, Christian
[1] http://docs.basex.org/wiki/Database_Module
Hi Marios,
Thanks for your response.
So the problem I think comes down to how to merge two databases into one without having to reprocess the whole content.
One more challenge I think will be to find out which documents have changed on a particular server.
Maybe it's easier to have one dedicated server that receives new documents, which can then be distributed to the remaining server. One more approach is to store new documents in a separate database, which can then be merged with the main database. As database are very light-weight constructs in BaseX, you can e.g. address more than one database from a single XQuery expression [1].
Hope this helps, Christian