Re: conditional join -
03-08-2006
, 12:13 AM
Hi,
I'm not entirely sure that I understand your question, but how about
creating a btree secondary using the date as a key. Either encode the
date so that it is in sorted order or supply a key comparator.
Then for a given item (with known date), you can look up the date index
and scan up and down until you reach the distance limits.
Would that do what you want?
Michael. |