I did end up walking the PreferenceArrays side-by-side using the 
hasPrefWithUserID method.   I knew I saw an intersection size somewhere, I 
forgot it was for the FastIDSet.  

Thanks for the replies,
Chris

On Jun 3, 2011, at 2:40 PM, Lance Norskog wrote:

> One of the methods that returns a PreferenceArray requires the output
> be sorted; the rest do not. If it is the sorted output, you can walk
> them side-by-side.  Otherwise, what Steven said.
> 
> On Thu, Jun 2, 2011 at 1:07 PM, Steven Bourke <[email protected]> wrote:
>> Your best bet is to probably load the item id's from the recommendations
>> from each user  / recommendation list into a FastIDSet. The FastIDSet has an
>> intersection size method.
>> 
>> On Thu, Jun 2, 2011 at 7:07 PM, Chris Schilling
>> <[email protected]>wrote:
>> 
>>> Hello,
>>> 
>>> I am trying to do a little bit deeper inspection of some of the
>>> recommendations I am seeing.  I was curious if the API exists to return the
>>> intersection of 2 PreferenceArray objects.
>>> 
>>> Thanks
>>> Chris
>>> 
>>> 
>> 
> 
> 
> 
> -- 
> Lance Norskog
> [email protected]

Reply via email to