<?php
$options = array
(
'hostname' => 'localhost',
'port' => '8080',
'path'=>'solr/help_category',
'wt'=>'json'
);
$client = new SolrClient($options); $entryId=501000;
$client->deleteById($entryId);
//$client->deleteByQuery('id:'.$entryId);
$return=$client->commit();
var_dump($return);
?>