scout-extended icon indicating copy to clipboard operation
scout-extended copied to clipboard

Respect standard Scout Algolia config

Open samlev opened this issue 2 years ago • 0 comments

Q A
Bug fix? yes
New feature? no
BC breaks? no
Need Doc update no

Describe your change

This change ensures that standard Laravel Scout configuration for Algolia is respected when using Scout Extended.

What problem is this fixing?

Base Laravel Scout allows you to control certain features of the search client through configuration, but Scout extended ignores those configuratiton options.

This change makes scout extended respect the connect_timeout, read_timeout, write_timeout, and batch_size configuration options.

I will note that base scout also doesn't currently pay attention to batch_size, but that's the one setting that we wanted to change in the first place. I have opened a PR to scout to address this issue there, too.

samlev avatar Sep 22 '23 03:09 samlev