Closed vincenzolegrottaglie closed 1 year ago
Hi @vincenzolegrottaglie, there is no Searchable
trait in version 2 of Elastic Scout Driver. Also, version 2 doesn't support Elasticsearch 8. I'd recommend you upgrade Elastic Scout Driver and related packages to the latest versions.
Thank you. I managed the issue by changing versions like you suggested!
Undefined type 'Elastic\ScoutDriverPlus\Searchable'
When adding to my Model the
use Elastic\ScoutDriverPlus\Searchable;
anduse Searchable;
it gives me the error just above.Instead, my code editor suggets me to use
use ElasticScoutDriverPlus\Searchable;
and this is not giving me problems but seems to not work anyway.