| 1 | <?php |
||
| 8 | class Delete extends SolrRequest |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected $handlerName = 'update'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * $var string |
||
| 17 | */ |
||
| 18 | protected $responseClass = '\PSolr\Response\Response'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var array |
||
| 22 | */ |
||
| 23 | protected $ids = array(); |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var array |
||
| 27 | */ |
||
| 28 | protected $queries = array(); |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string $id |
||
| 32 | * |
||
| 33 | * @return \PSolr\Request\Delete |
||
| 34 | */ |
||
| 35 | public function addId($id) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param string $query |
||
| 43 | */ |
||
| 44 | public function addQuery($query) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritDoc} |
||
| 52 | */ |
||
| 53 | public function renderBody() |
||
| 68 | } |
||
| 69 |