Hello,
So sometimes I find myself searching with something like this
Project.search("@title \"some name\", @data_type \"Book
\"", :match_mode => :extended, :per_page => 20)
This method works great but when I add more than one data_type it
doesn't seem to work unless its using the conditions hash.
-- Doesn't work
Project.search("@title \"some name\", @data_type \"(Book | Audio)
\"", :match_mode => :extended, :per_page => 20)
-- Works
Project.search("@title \"some name\"", :conditions => {:data_type =>
"(Book | Audio)}, :match_mode => :extended, :per_page => 20)
Is the @field version limited somehow?
*I'm on TS 1.4.3
--
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.