Pat-
  It was a very odd error about truncated result.  I fixed it by no
including the with if the id is nil.  It can be nil and that was
causing the issue.  For whatever reason either older version of sphinx
or the older version of ts was ok with a nil attribute and didn't
throw the error.

Thanks.
Erik

On Feb 21, 4:34 pm, Pat Allan <[email protected]> wrote:
> Hi Erik
>
> Do you get no results? Or an error? And what does your define_index block 
> look like for Buyer?
>
> Cheers
>
> --
> Pat
>
> On 22/02/2011, at 10:21 AM, erik wrote:
>
> > Pat-
> >  On thing I still have an issue with is this query:
> > @buyers = Buyer.search params[:val], :star => true, :order
> > => :created_at, :sort_mode => :desc, :page => params[:page], :per_page
> > => 50, :retry_stale => true, :with => { :partner_id =>
> > current_user.partner_id }
>
> > If i remove the ":with => { :partner_id => current_user.partner_id }"
> > part it works fine.
>
> > Is this a difference between 0.9.8 and 0.9.9 or something I'm doing
> > wrong?
>
> > Thanks.
> > erik
>
> > On Feb 21, 2:58 pm, erik <[email protected]> wrote:
> >> that worked.  It cleared up all my issues.
>
> >> Thanks.
> >> Erik
>
> >> On Feb 18, 7:39 pm, Pat Allan <[email protected]> wrote:
>
> >>> Hi Erik
>
> >>> I'm not on front of my computer right now, so can't scan the logs, but 
> >>> can you try the latest 1.4.3 release?
>
> >>> --
> >>> Pat
>
> >>> On 19/02/2011, at 2:03 PM, erik <[email protected]> wrote:
>
> >>>> I found the post about this on here.
>
> >>>> I have now changed to 1.3.19 and am still having the issue.
>
> >>>> anyone actually got this working?
>
> >>>> Thanks.
> >>>> Erik
>
> >>>> On Feb 18, 6:38 pm, erik <[email protected]> wrote:
> >>>>> Hi-
> >>>>>   i have another interesting issue.
>
> >>>>>   I'm using Rails 2.3.8 and ts : 1.3.11
>
> >>>>>   When I search for something and then try to send those objects to
> >>>>> memcache I now get:
>
> >>>>> <"singleton can't be dumped">
>
> >>>>>   Lets say i have a model Apple.  If if search for apples and return
> >>>>> an apple and try to persist it to memcache it get my singleton error.
> >>>>> If i do apple = Apple.first and try to persist it to memcache it works
> >>>>> fine.  If i take my apple that I found in sphinx search and clone it
> >>>>> that also works fine.
>
> >>>>>   Any ideas?
>
> >>>>> Thanks.
> >>>>> erik
>
> >>>> --
> >>>> 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 
> >>>> athttp://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 
> > athttp://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.

Reply via email to