On Tue, Mar 10, 2015 at 1:50 PM, Michael Marth <[email protected]> wrote: > But I wonder: how do you envision that this new index cleanup would locate > indexes in the content-addressed DS
Thats bit tricky. Have rough idea here on how to approach but would require more thinking here. The approach I am thinking of is 1. Have an index on oak:QueryIndexDefinition 2. Query for all index definition nodes with type=lucene 3. Get the ':data" node and then perform the listing. Each child node is a Lucene index file representation For Mongo I can easy read the previous revisions of the jcr:blob property and then extract the blobId which can be then be deleted via direct invocation GarbageCollectableBlobStore API. For Segment I am not sure how to easily read previous revisions of given NodeState Chetan Mehrotra
