Greetings,
I have a set of processes that create XML files throughout the day.  When an XML file gets changed I reload it in Exist using storeResource from the Collection class.
 
The Javadocs claim that storeResource will update the Exist resource with any changes, but it appears storeResource is actually removing the old resource and then adding the new resource.
 
My problem is that if someone queries the Collection after the resource has been removed and before the new resource has been added, they get no matching results.
 
Is there a way around this problem?  Is there another method I should be using to store the updated XML files?
 
Thanks for any help.
 
Wes