I can use pipes in side the MATCH
in SphinxQl e.g.
Select * from idx_A where MATCH('(@(Title) Apple)|(@(Body) Orange)')
but not outside the match
Select * from idx_A where MATCH('(@(Title) Apple)|(@(Body) Orange)') and Title='Apple' or Body='Orange'
as I get an error similar to:
[Err] 1064 - sphinxql: syntax error, unexpected OR, expecting $end near 'or Body='Orange`
Am I using incorrect syntax outside of the MATCH() or is it not possible to construct here using 'OR'?