I have a strange situation.  I get inconsistent results when using
get-instances-by-class and map-inverted-index.  The first one is correct,
the second one returns a bunch of NILs in the list in addition to the
correct results.  Is this a bug or an expected result?  Here are my commands
and output:

> (elephant:get-instances-by-class 'product-set)
(#<PRODUCT-SET oid:27002> #<PRODUCT-SET oid:67705>)
> (elephant:map-inverted-index #'ele::identity2 'product-set 'rank :collect
t)
(#<PRODUCT-SET oid:27002> #<PRODUCT-SET oid:67705> NIL NIL NIL NIL NIL NIL
NIL
 NIL)

For some strange reason I get OIDs that should be dead:

> (elephant:map-inverted-index #'ele::identity2 'product-set 'rank :collect
t :oids t)
(27002 67705 58702 58704 58705 58707 58708 58709 58710 58711)

Any idea what's going on and how this could have happened?

Is there a way of clearing OIDs for which I get NILs?

Note: I'm using code pulled from unstable branch at 2008-12-05 21:29.

Thanks in advance,

Yarek
_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel

Reply via email to