<br>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:<br>
<br>> (elephant:get-instances-by-class 'product-set)<br>(#<PRODUCT-SET oid:27002> #<PRODUCT-SET oid:67705>)<br>> (elephant:map-inverted-index #'ele::identity2 'product-set 'rank :collect t)<br>
(#<PRODUCT-SET oid:27002> #<PRODUCT-SET oid:67705> NIL NIL NIL NIL NIL NIL NIL<br> NIL)<br><br>For some strange reason I get OIDs that should be dead:<br><br>> (elephant:map-inverted-index #'ele::identity2 'product-set 'rank :collect t :oids t)<br>
(27002 67705 58702 58704 58705 58707 58708 58709 58710 58711)<br><br>Any idea what's going on and how this could have happened? <br><br>Is there a way of clearing OIDs for which I get NILs?<br><br>Note: I'm using code pulled from unstable branch at 2008-12-05 21:29.<br>
<br>Thanks in advance,<br><br>Yarek<br><br>