Hi Alex Sorry for the delay in responding to this one.
What version of Thinking Sphinx are you using? In the current Thinking Sphinx, if you're passing an array through to :without_ids, then it keeps it as an array, so it isn't the cause of the filter overloading. So I guess, if you're willing to try upgrading, I'd do that, see if the problem goes away - although to be honest, I'd be a little surprised if this code behaved any differently in earlier versions. That said, I've made some stupid mistakes elsewhere, so maybe here too ;) Cheers -- Pat On 15/07/2010, at 8:52 AM, Alex wrote: > I'm using an older version of thinking-sphinx, but I don't think this > problem has been fixed. > > I'm sending a large number of :without_ids, and it is creating a > filter for each one. I think that is the cause because it is > exceeding the maximum number of filters with the message: > > searchd error (status: 1): too much attribute filters (req=257, > max=256) > > It seems that this could be handled by a single filter and eliminate > this problem, as explained here: > > http://www.sphinxsearch.com/forum/view.html?id=2403 > > Does anyone understand this problem well enough to answer? > > Thanks! > > -- > 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. > -- 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.
