Hi Jörg,

I'd be interested in your feedback on this one.

-- Thibaut

On Fri, Jan 30, 2009 at 12:18 PM, Pat Allan <[email protected]> wrote:
>
> Jörg, :without => {:attribute => blacklisted_ids_as_array} _should_ do
> the trick. But with a has_many, not sure how Sphinx will handle some
> ids matching and others not.
>
> --
> Pat
>
> On 30/01/2009, at 6:08 PM, Jörg Battermann wrote:
>
>>
>> Hey there,
>>
>> not sure this is possible, but my current social-networky-application
>> allows users to add other users to a blacklist... basically meaning
>> when I've added someone to my blacklist, he/she can not view my
>> profile, send me messages etc, but I should also not pop up in his/her
>> search-results when searching for Users.
>>
>>
>> Is it somehow possible to do such an exclusion for a e.g. User.search
>> (...) query? How would I do that?
>>
>> The Blacklist is basically a habtm relationship which contains a
>> user_id and blacklisted_user_id ....
>>
>>
>> Cheers and thanks,
>> -J
>> >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to