diff --git a/src/module-elasticsuite-core/Search/Adapter/Elasticsuite/Spellchecker.php b/src/module-elasticsuite-core/Search/Adapter/Elasticsuite/Spellchecker.php index aa374ca40..5a0c461b1 100644 --- a/src/module-elasticsuite-core/Search/Adapter/Elasticsuite/Spellchecker.php +++ b/src/module-elasticsuite-core/Search/Adapter/Elasticsuite/Spellchecker.php @@ -68,7 +68,7 @@ public function getSpellingType(RequestInterface $request) $spellingType = $this->cacheHelper->loadCache($cacheKey); - if (true || $spellingType === false) { + if ($spellingType === false) { $spellingType = $this->loadSpellingType($request); $this->cacheHelper->saveCache($cacheKey, $spellingType, [$request->getIndex(), ScopePool::CACHE_TAG]); }