We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f83f33 commit 394e3f6Copy full SHA for 394e3f6
src/store/src/Bridge/Local/CacheStore.php
@@ -43,7 +43,11 @@ public function setup(array $options = []): void
43
throw new InvalidArgumentException('No supported options.');
44
}
45
46
- $this->cache->clear();
+ if ($this->cache->hasItem($this->cacheKey)) {
47
+ return;
48
+ }
49
+
50
+ $this->cache->get($this->cacheKey, static fn (): array => []);
51
52
53
public function add(VectorDocument ...$documents): void
0 commit comments