I need to search for users where the end user will submit separate
values for name, city, email, and keyword, which would be compared
against
users.name, users.city, users.email, users.description.
At first, I thought I'd be able to use sphinx_scope like this:
sphinx_scope(:first_name_like) { |first_name| { :conditions =>
["first_name ILIKE ?","%#{first_name}%"] } }
But that won't work. How would you go about doing something like that,
or is this a situation where ThinkingSphinx/Sphinx is not the right
tool for the job.