Thanks for the feedback but this did not resolve my issue. I still get a
record returned if either of the following match when what I want is if both
match.

has products.media_type(:id), :as => :mt
has products.price, :as => :price, :type => :multi
I am running Rails 2.3.5 and thinkingspinx 1.3.16.


On Wed, Dec 15, 2010 at 2:33 PM, Pat Allan <[email protected]> wrote:

> Okay, so this could be our problem - for some reason, it's saying price is
> a single integer, when it's actually an array of integers. The SQL is
> correct, but the attribute definition is not.
>
> Can you try changing the attribute definition to:
>  has products.price, :as => :price, :type => :multi
>
> Then run rake ts:rebuild and see if that helps matters?
>
> That said, it *should* work without this... which version of Thinking
> Sphinx are you using? And which version of Rails?
>
> Cheers
>
> --
> Pat
>
>

-- 
Matthew Hinton
[email protected]
http://www.myverbaloutlet.net

-- 
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