Is there a way to do this line in sphinx search
where field_a = 'Value' or field_b = 'Value'
$sphinx->where(field_A | field_B, '=', 'Value')
Sphinx itself does not support 'OR' in the WHERE clause.
But can do something like
SELECT id, (attribute_a = 'Value' OR attribute_b = 'Value') AS test FROM index WHERE test = 1
It's a little convoluted, but does work. Also no idea what library you using to build the query, so left as an exercise to how to construct a SQL query like above.
(Also note I changed to call the column, attributes instead. Sphinx treats attributes and fields very differently. Clarifying this is a way of filtering attributes)