protected function deleteRecordInAllSolrConnections($table, $uid, $solrConnections, $siteHash, $enableCommitsSetting)
    {
        foreach ($solrConnections as $solr) {
            $solr->getWriteService()->deleteByQuery('type:' . $table . ' AND uid:' . (int)$uid . ' AND siteHash:' . $siteHash);
            if ($enableCommitsSetting) {
                $solr->getWriteService()->commit(false, false);
            }
        }
    }
protected function deleteRecordInAllSolrConnections($table, $uid, $solrConnections, $siteHash, $enableCommitsSetting)
    {
        foreach ($solrConnections as $solr) {
            $solr->getWriteService()->deleteByQuery('type:' . $table . ' AND uid:' . (int)$uid . ' AND siteHash:' . $siteHash);
            if ($enableCommitsSetting) {
                $solr->getWriteService()->commit(false, false);
            }
        }
    }
protected function deleteRecordInAllSolrConnections ( $ table , $ uid , $ solrConnections , $ siteHash , $ enableCommitsSetting ) { foreach ( $ solrConnections as $ solr ) { $ solr -> getWriteService ( ) -> deleteByQuery ( 'type:' . $ table . ' AND uid:' . ( int ) $ uid . ' AND siteHash:' . $ siteHash ) ; if ( $ enableCommitsSetting ) { $ solr -> getWriteService ( ) -> commit ( false , false ) ; } } }
Deletes the record in all solr connections from that site.

@param string $table
@param int $uid
@param SolrConnection[] $solrConnections
@param string $siteHash
@param boolean $enableCommitsSetting
Deletes the record in all solr connections from that site .