protected function removeFromIndexAndQueueWhenItemInQueue($recordTable, $recordUid)
    {
        if (!$this->indexQueue->containsItem($recordTable, $recordUid)) {
            return;
        }

        $this->removeFromIndexAndQueue($recordTable, $recordUid);
    }
protected function removeFromIndexAndQueueWhenItemInQueue($recordTable, $recordUid)
    {
        if (!$this->indexQueue->containsItem($recordTable, $recordUid)) {
            return;
        }

        $this->removeFromIndexAndQueue($recordTable, $recordUid);
    }
protected function removeFromIndexAndQueueWhenItemInQueue ( $ recordTable , $ recordUid ) { if ( ! $ this -> indexQueue -> containsItem ( $ recordTable , $ recordUid ) ) { return ; } $ this -> removeFromIndexAndQueue ( $ recordTable , $ recordUid ) ; }
Removes record from the index queue and from the solr index when the item is in the queue.

@param string $recordTable Name of table where the record lives
@param int $recordUid Id of record
Removes record from the index queue and from the solr index when the item is in the queue .