cancel
Showing results for 
Search instead for 
Did you mean: 

Added new aspect property, how to update existing docs?

kumbach
Champ in-the-making
Champ in-the-making
Does anyone know how to do a Lucene search to find all documents that are missing the property of a custom aspect?

Our repository has many documents with a custom aspect attached to them. I have since updated and deployed the aspect to include a new property named "docSubType". Now I need to update all the existing documents and set the new property to a specific value.

If I can figure out a query to get the documents that need to be updated, it's just a matter of writing some Webscript code to do actual the updating.

Any suggestions???
1 REPLY 1

cheffilet
Champ in-the-making
Champ in-the-making