I think it's more a query setup problem - as you're using the extended match mode in all examples. However, you want to quote each data type inside of the parentheses, instead of the other way around:
Project.search("@title \"some name\", @data_type (\"Book\" | \"Audio\")",
On 07/07/2011, at 11:11 AM, Jeremy Peterson wrote:
> You need to change your match mode. Doing this will work in your project...
> YourModel.search "@data_type book @title think", :match_mode => :extended
> On Wed, Jul 6, 2011 at 2:45 PM, dwickwire <wickw...@gmail.com> wrote:
> So sometimes I find myself searching with something like this
> Project.search("@title \"some name\", @data_type \"Book
> This method works great but when I add more than one data_type it
> -- Doesn't work
> -- Works
> Is the @field version limited somehow?
> *I'm on TS 1.4.3
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.