$result is an array
$sphinx_ranked = SphinxQL::create($conn)->select('*')->from('jobs')->where('id', 'IN', $result)->execute();
after executing I got error
[1064] index jobs: unsupported filter type '(filter-type-6)' on @id [ SELECT * FROM jobs WHERE id IN ('57', '59')]
If I try this
SELECT * FROM jobs WHERE id IN (57,59);
Then this works. But I want dynamic values to be passed. Any Help would be appreciated.