diff --git a/src/Typesense/Index.php b/src/Typesense/Index.php index 9d0e411..028f9e8 100644 --- a/src/Typesense/Index.php +++ b/src/Typesense/Index.php @@ -104,9 +104,7 @@ public function searchUsingApi($query, array $options = []): Collection } foreach (Arr::get($this->config, 'settings.search_options', []) as $handle => $value) { - if (! isset($options[$handle])) { - $options[$handle] = $value; - } + $options[$handle] = $value; } $searchResults = $this->getOrCreateIndex()->documents->search($options);