Deleting document properties
24 April 2014 02:02 PM
There are options 'maintain last modified' and 'maintain directory last modified' on the Admin UI for a database, which when turned on add properties to every document inserted in the database. There may be a need to remove all the property fragments of all the documents in the database when the properties no longer need to be retained.
Turning these options off for a database ensure that properties will not be created for new documents. However, existing document properties will not be removed by turning these settings off.
To delete existing document properties, the following query can be used:
Please make sure that 'maintain last modified' and 'maintain directory last modified' options are turned off for the database, so that the property fragment does not get recreated for the document.