You'll need to join the values together yourself:

  :city => "(#{a} | #{b})"

-- 
Pat

On 05/06/2010, at 9:13 AM, badnaam wrote:

> Is it possible to do a condition like
> 
> :conditon => {:city => [a, b]}  ?
> 
> city is a field not an index. if this wont work  (it doesnt actually),
> what other option do I have?
> 
> 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.

Reply via email to