matchish / laravel-scout-elasticsearch

Search among multiple models with ElasticSearch and Laravel Scout
MIT License
702 stars 113 forks source link

Elastic has prefix restrictions on reads #268

Open ritorium opened 7 months ago

ritorium commented 7 months ago

I am using your package to work with elastic cluster (We are using package version v5.0.3) There was a problem with bulk data import (php artisan scout:import), because elastic has prefix restrictions on reads.

https://clip2net.com/s/4kcmpbT https://clip2net.com/s/4kcmvk6 I looked at the code, I saw that in the request to get aliases in the target parameter is passed . Can you refine the code so that the prefix is taken into account in ? For example, config('scout.prefix').''.

matchish commented 4 months ago

images not availiable