I think you can manually combine conditions, perhaps something like
the following:
Model.search "(@foo alpha) | (@bar beta)", :match_mode => :extended
Keep in mind that the following two lines are exactly the same:
Model.search :conditions => {:foo => "alpha"}
Model.search "@foo alpha", :match_mode => :extended
--
Pat
On 25/11/2009, at 3:56 PM, pmlarocque wrote:
> found out that it's not possible, what about a or
> between :conditions ... ?
>
> 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.