-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on creating index #81
Comments
Can you show me the mappableAs implementations? |
Sure The mappableAs of Blog model:
and mappableAs of contract mode:
|
Hmm, that seems ok. What versions of Laravel, Laravel Scout and Explorer are you running? I will have to see if I can reproduce this. |
OK, Laravel: by the way i'm using Laravel sail for development and docker-compose.yml elastik part is like this:
and if it's necessary i'm using Laravel-Modules and these two models are in separate modules |
Thanks, it looks the same as in the https://github.com/Jeroen-G/explorer-demo project |
Ok, this is indeed a bug in 2.5 when a model does not have the IndexSettings interface implemented. I'll try to fix it as soon as I find the time! |
Fixed in 2.5.1. Thanks for reporting! |
Hello, after running
sail php artisan elastic:create
i'm getting this errormy explorer.php file content is:
and i have implemented Explorer "mappableAs" for both my models
The text was updated successfully, but these errors were encountered: