On Fri, 2013-03-15 at 11:12 +0530, Pratik Kharwade wrote: [...]
While updating, the our application doesnt response till the updates are done. The user can't interact with the application.
Some initial thoughts:
The update should be done by a separate process or thread than the user interface code.
Update one document at a time: load a complete document to a temporary local file before telling BaseX to import it.
An alternative is to work with two databases, updating the non-live one and then switching over.
Liam