/** * Rebuilds the data of a document and adds it to a bulk request for the next commit. * Depending on the connection autocommit mode, the change may be committed right away. * * @param int $id */ public function reindex($id) { $this->indexManager->reindex($this->documentClass, $id); }