Hello group,

I just started to dig into ThinkingSphinx and Spihnx itself and I have
a question which i could figure out by now.
So my question is:
Is it possible query a model with a name, a description and a filename
like this:

  File.search :conditions => { :filename => "*tmp*", :description =>
"*tmp*" }, :match_mode => :any

I have already enabled wildcards, but the problem is if I do the above
query Sphinx also dispalys results which only contain "*tmp*" in the
filename column.
So how do I manage to get a 'OR' connection between all the specified
columns in :conditions?

thanks a lot,
Steve

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