i am new to TS and just planning to shift from ferret to sphinx for
performance reason. One thing i like about aaf+ferret is, its powerful
query language.

Is it possible to pass 'native sphinx queries' as is in TS instead of
constructing it using ':conditons' or ':with'. I am not able to
construct the query from TS otherwise.

This is the pseudo query i want to construct :
select everthing from my_table where ((( field_1 contains "word1 AND
word2") OR (field_2 contains "word3 OR word4")) AND (field_5 contails
"word5 OR word6")) AND status = "active"

writing this format doesn't seems to be working :

Article.search '((@field_1 word1 AND word2) OR (@field_2 word3 OR
word4) AND (@field_5 word5 OR word6)) AND @status active'

also what if, any of search strings are "@word2" is 'word2' will
escaping work ? that is '\...@word2' ?

appreciate your help

tx
madhu

-- 
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.

Reply via email to