Is there a way to execute search by some condition?
I saw there is SetFilter
option, but it seems it's not what I need.
I would like to exclude all results, which have empty some column (e.g. company_title). But I don't see that I can define it like that using SetFilter
(or I'm missing something)?
this is how it looks like atm:
$results = SphinxSearch::search($search, 'profiles')
->setSelect('id')
->setMatchMode(\Sphinx\SphinxClient::SPH_MATCH_ALL)
->limit(65, $skip);