[elephant-devel] NIL values in secondary indices

Leslie P. Polzer leslie.polzer at gmx.net
Sat Aug 9 10:10:24 UTC 2008


(defpclass artichoke ()
  ((slot1 :accessor slot1 :initform nil :index t)))
-> #<PERSISTENT-METACLASS ARTICHOKE>

(make-instance 'artichoke)
-> #<ARTICHOKE oid:53249>

(get-instances-by-range 'artichoke nil nil)
-> NIL

Is there any sense behind this result? Are NIL values somehow
special to the secondary indexing mechanism?

How should I find the missing instances with
GET-INSTANCES-BY-RANGE?

  Leslie




More information about the elephant-devel mailing list