/** * @see xfIndex */ public final function remove($input) { $this->setup(); $this->engine->open(); try { $guid = $this->getServiceRegistry()->locate($input)->getIdentifier()->getGuid($input); $this->engine->delete($guid); $this->getLogger()->log('Removed document "' . $guid . '" from the index', $this->getName()); } catch (xfServiceIgnoredException $e) { } }
/** * @see xfEngine */ public function delete($guid) { return $this->engine->delete($guid); }