| 1 | <?php |
||
| 8 | class Stats extends SolrRequest implements ComponentInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * {@inheritDoc} |
||
| 12 | */ |
||
| 13 | public function preMergeParams(SolrRequest $request) {} |
||
| 14 | |||
| 15 | /** |
||
| 16 | * {@inheritDoc} |
||
| 17 | */ |
||
| 18 | public function init() |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param bool $stats |
||
| 25 | * |
||
| 26 | * @return \PSolr\Request\Stats |
||
| 27 | * |
||
| 28 | * @see http://wiki.apache.org/solr/StatsComponent |
||
| 29 | */ |
||
| 30 | public function stats($stats = true) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string $field |
||
| 37 | * |
||
| 38 | * @return \PSolr\Request\Stats |
||
| 39 | * |
||
| 40 | * @see http://wiki.apache.org/solr/StatsComponent |
||
| 41 | */ |
||
| 42 | public function addField($field) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param string $facet |
||
| 49 | * |
||
| 50 | * @return \PSolr\Request\Stats |
||
| 51 | * |
||
| 52 | * @see http://wiki.apache.org/solr/StatsComponent |
||
| 53 | */ |
||
| 54 | public function addFacet($facet) |
||
| 58 | } |
||
| 59 |