laravel-scout-array-driver
laravel-scout-array-driver copied to clipboard
Array driver doesn't support eloquent constraints
Using https://github.com/teamtnt/laravel-scout-tntsearch-driver/?tab=readme-ov-file#constraints e.g.
$constraints = Item::query(); $constraints->where('draft', false); Item::search($query)->constrain($constraints);
works normally, but fails when testing using this driver.
I'm guessing it's not possible to fix this, but maybe is worth a note / known-issue somewhere in the documentation?