Hi all,

I want to search for a keyword in a particular field, for example say I
want to search for the keyword "rails" in the field title so how can I
include the field_name in query string.

s=Ultrasphinx::Search.new(:query => "@title rails")

or

s=Ultrasphinx::Search.new(:query => "title: rails")

or

s=Ultrasphinx::Search.new(:query => "@title: rails")


Thanks in advance,
T.Veeraa.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to