[elephant-devel] Re: NIL values in secondary indices

Leslie P. Polzer leslie.polzer at gmx.net
Sat Aug 9 12:14:15 UTC 2008


Hi Alex,

>  LPP> Is there any sense behind this result? Are NIL values somehow
>  LPP> special to the secondary indexing mechanism?
>
> it is somehow special in map-index, and inherently in
> GET-INSTANCES-BY-RANGE --
> if start is NIL it starts from beginning, it end is NIL it iterates to the
> end, so (NIL, NIL)
> range should mean all the sequence.

That's the behaviour per the documentation as I understand it, yes.


>  LPP> How should I find the missing instances with
>  LPP> GET-INSTANCES-BY-RANGE?
>
> question is _why_ should you use GET-INSTANCES-BY-RANGE when
> you can do this via GET-INSTANCES-BY-VALUE?

Because I need sorting... ideally the NIL values should just be
clustered at the end or beginning of the sorted space.

  Leslie




More information about the elephant-devel mailing list