Created
April 16, 2014 13:50
-
-
Save jpotts/10878584 to your computer and use it in GitHub Desktop.
Remove an aspect from every node in the repository
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var results = search.luceneSearch("ASPECT:\"ASPECT NAME HERE\""); | |
for each (var doc in results) { | |
doc.removeAspect("ASPECT NAME HERE"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment