Lines Matching refs:storage
38 protected $storage;
55 * @param AbstractStorage $storage
61 AbstractStorage $storage,
66 $this->storage = $storage;
73 * Access storage
79 return $this->storage;
120 * Update the embeddings storage
124 * @param bool $clear Should any existing storage be cleared before updating?
133 $this->storage->startCreation($clear);
145 $this->storage->deletePageChunks($page, $chunkID);
149 $firstChunk = $this->storage->getChunk($chunkID);
152 $this->storage->reusePageChunks($page, $chunkID);
156 $this->storage->deletePageChunks($page, $chunkID);
158 if ($chunks) $this->storage->addPageChunks($chunks);
161 $this->storage->finalizeCreation();
255 $chunks = $this->storage->getSimilarChunks($vector, $lang, $fetch);