algolia / scout-extended

Scout Extended: The Full Power of Algolia in Laravel
https://www.algolia.com/doc/framework-integration/laravel/getting-started/introduction-to-scout-extended/
MIT License
393 stars 85 forks source link

Set scout configuration in engine manager #338

Open szhorvath opened 4 months ago

szhorvath commented 4 months ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Related Issue Fix #323
Need Doc update no

Describe your change

Algolia's analytics dashboard cannot recognise user searches because the application doesn't send the X-Algolia-UserToken header when performing searches. Even when configuring SCOUT_IDENTIFY env var to true, it breaks the documented Laravel scout functionality.

What problem is this fixing?

This update adds basic search client configuration to the engine manager while respecting Laravel Scout configurations.