dear pat, As always, your solution worked!
Thank you regards, madhu On Apr 3, 8:57 pm, Pat Allan <[email protected]> wrote: > I think you need to collect quorum words with quotes, not parentheses: > > Item.search '@(field1, field2) "one two fifty"/2', :match_mode => :extended > > If that doesn't work, maybe quorum matching isn't available across multiple > fields - that'd be a question for the Sphinx forum. > > Cheers > > -- > Pat > > On 04/04/2010, at 7:01 AM, madhu wrote: > > > is there a way to mention 'quorum' matching in TS ? for example: > > > field1 have these words : "one two three" > > field2 have these words : "four five six" > > > and my search query is something like this > > Item .search "@(field1,field2) (one two FIFTY)", :match_mode > > => :extended. This will return empty result set because "FIFTY" is > > not present. > > > This syntax is not helping either : Item .search "@(field1,field2) > > (one two FIFTY)/2", :match_mode => :extended > > > I can solve it by using this "@(field1,field2) (one|two| > > FIFTY)", :match_mode => :extended - but won't give the best results. > > > basically i want to fetch all documents if atleaset two words matches > > in the above example for my websitehttp://www.gettherating.com > > > tx > > > -- > > 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 > > athttp://groups.google.com/group/thinking-sphinx?hl=en. -- 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.
