src/Model/Service/ElasticService.php
public function remove($id)
    {
        try {
            return $this->resource->delete([
                'index' => $this->schema->getName(),
                'type' => static::INDEX_TYPE,
                'id' => $id
            ]);
        } catch (NoNodesAvailableException $e) {
            return false;
        }
    }
public function remove($id)
    {
        try {
            return $this->resource->delete([
                'index' => $this->schema->getName(),
                'type' => static::INDEX_TYPE,
                'id' => $id
            ]);
        } catch (NoNodesAvailableException $e) {
            return false;
        }
    }
public function remove ( $ id ) { try { return $ this -> resource -> delete ( [ 'index' => $ this -> schema -> getName ( ) , 'type' => static :: INDEX_TYPE , 'id' => $ id ] ) ; } catch ( NoNodesAvailableException $ e ) { return false ; } }
Remove from index

@param *int $id
Remove from index