Deletes all documents of a given $type from the index.
abstract public purgeIndex ( string $type ) | ||
$type | string |
/** * Purges all contents from the index * * @todo: Make this public API? * * @return void */ public function purgeIndex() { $this->gateway->purgeIndex("location"); }
/** * Purges all contents from the index * * @todo: Make this public API? * * @return void */ public function purgeIndex() { $this->gateway->purgeIndex($this->documentTypeName); }
/** * Purges all contents from the index. * * @todo: Make this public API? */ public function purgeIndex() { $this->gateway->purgeIndex($this->contentDocumentTypeIdentifier); $this->gateway->purgeIndex($this->locationDocumentTypeIdentifier); }
/** * Purges all contents from the index * * @todo: Make this public API? * * @return void */ public function purgeIndex() { $this->gateway->purgeIndex("content"); }