From vikram.bhandoh at gmail.com Thu Oct 19 10:30:15 2006 From: vikram.bhandoh at gmail.com (Vikram Bhandoh) Date: Thu, 19 Oct 2006 11:30:15 +0100 Subject: [rucksack-cvs] removing class instances from index Message-ID: <6a3413f30610190330j1185c565r8d0f8b258d609fa2@mail.gmail.com> Hi there, I've recently started using rucksack to manage presistence. I'm mainly using persistent classes. My question is how do I delete an instance from rucksack so that when I run rucksack-map-slot I don't see that specific instance again? (defclass employee () ((person :initarg :index-on :reader person :index :case-insensitive-string-index) (history :initarg :history :accessor history) (salary :initarg :object-pos :accessor object-pos :index :number-index) (job :initarg :job :accessor job :index :symbol-index)) (:metaclass persistent-class) (:index t)) I use make-instance to create the employee and then add-rucksack-root it. I'm using rucksack-map-slot to get the data out. I've tried index-delete with the class-index using the object-id and the instance but I can still access the stuff. Any help will be greatly appreciated. Vikram