Hi,
This question is in a way related to this other question: http://stackoverflow.com/questions/869733/sphinx-filters-can-i-have-an-or-between-filters-attributes
It seems to me that sphinx now has support for OR logic to filter with attributes, but there is no way to use that feature through thinking sphinx.
Is it possible to use any complex logic to filter with attributes in thinking sphinx? Basically, what I'm trying to do is specify conditions on attributes in my search, for example something like: a OR ((NOT a) AND b)
, I would use it like so:
( (attribute_a == true) OR (attribute_a == false AND attribute_b IN [x,y,z]) )
Or something similar to that. The problem is that both :with and :without expect a hash and join each condition with an AND (or AND NOT), if I'm not mistaken.