On Mon, Mar 9, 2009 at 7:10 PM, Paco Avila <[email protected]> wrote: > And after run > > GarbageCollector gc; > SessionImpl si = (SessionImpl)session; > gc = si.createDataStoreGarbageCollector(); > > // optional (if you want to implement a progress bar / output): > // gc.setScanEventListener(this); > gc.scan(); > gc.stopScan(); > > // delete old data > gc.deleteUnused(); > > all deleted documents are supposed to be remove from repository/datastore?
Yes. > On Mon, Mar 9, 2009 at 6:38 PM, Paco Avila <[email protected]> wrote: >> Do you mean that GC only make sense if I delete documents from the >> repository? I don't think that never run GC and keep all the documents >> (deleted one included) is a good alternative in repositories with several GB >> of size and big documents. TB is the new GB ;-) Regards, Alex -- Alexander Klimetschek [email protected]
