Newscoop\Search\DefaultIndexClient::delete PHP Method

delete() public method

Delete item from index
public delete ( string $document ) : boolean
$document string Id of indexable data
return boolean
    public function delete($document)
    {
        $this->delete[] = $document;
        return true;
    }