src/snac/server/elastic/ElasticSearchUtil.php
/**
     * Delete Resource from Resource Indices
     *
     * Deletes the given resource from the Elastic Search resource indices.
     *
     * @param \snac\data\Resource $resource The resource object to delete from Elastic Search
     */
Delete Resource from Resource Indices
Deletes the given resource from the Elastic Search resource indices.

@param \snac\data\Resource $resource The resource object to delete from Elastic Search
Delete Resource from Resource Indices Deletes the given resource from the Elastic Search resource indices . @param \ snac \ data \ Resource $resource The resource object to delete from Elastic Search
public function deleteFromResourceIndices(&$resource) {
        if ($this->connector != null) {
            $params = [
                    'index' => \snac\Config::$ELASTIC_SEARCH_RESOURCE_INDEX,
                    'id' => $resource->getID()
            ];
            $this->logger->addDebug("Updated elastic search to remove resource");
        }
    }
public function deleteFromResourceIndices ( & $ resource ) { if ( $ this -> connector != null ) { $ params = [ 'index' => \ snac \ Config :: $ ELASTIC_SEARCH_RESOURCE_INDEX , 'id' => $ resource -> getID ( ) ] ; $ this -> logger -> addDebug ( " Updated elastic search to remove resource " ) ; } }
Delete Resource from Resource Indices
 Deletes the given resource from the Elastic Search resource indices.
Delete Resource from Resource Indices Deletes the given resource from the Elastic Search resource indices .