Hi Guillaume
What versions of Thinking Sphinx and Sphinx are you using? And what's your
index definition for Video?
Cheers
--
Pat
On 19/04/2013, at 6:25 PM, Guillaume Montard wrote:
> Hello,
>
> I'm trying to filter a search based on id of my model.
>
> So for example if i'm doing :
> video_ids = Video.all.map(&:id)
> Video.search "toto", :with=>{:video_ids=>video_ids}
>
> But i've got this error :
> Riddle::ResponseError (searchd error (status: 1): invalid attribute
> 'video_ids'(4) set length 9487 (should be in 0..4096 range)):
>
> Is there any limit to the :with filtering ?
> (i've got thousands and thousands of Video records so the video_ids Array
> could be very huge)
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.