Indexer.php
/**
     * Remove document from solr by AMQPMessage.
     *
     * @param \PhpAmqpLib\Message\AMQPMessage $message
     */
Remove document from solr by AMQPMessage.
Remove document from solr by AMQPMessage .
public function deleteDocument(AMQPMessage $message)
    {
        $data = json_decode($message->body, true);
        $this->deleteDocumentById($data['metadata'], sha1(strtolower($data['url'])));
    }
public function deleteDocument ( AMQPMessage $ message ) { $ data = json_decode ( $ message -> body , true ) ; $ this -> deleteDocumentById ( $ data [ 'metadata' ] , sha1 ( strtolower ( $ data [ 'url' ] ) ) ) ; }
Remove document from solr by AMQPMessage.
Remove document from solr by AMQPMessage .