diff options
Diffstat (limited to 'vendor/ruflin/elastica/lib/Elastica/Rescore/AbstractRescore.php')
-rw-r--r-- | vendor/ruflin/elastica/lib/Elastica/Rescore/AbstractRescore.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/vendor/ruflin/elastica/lib/Elastica/Rescore/AbstractRescore.php b/vendor/ruflin/elastica/lib/Elastica/Rescore/AbstractRescore.php index cb6c7cce..0839424d 100644 --- a/vendor/ruflin/elastica/lib/Elastica/Rescore/AbstractRescore.php +++ b/vendor/ruflin/elastica/lib/Elastica/Rescore/AbstractRescore.php @@ -1,20 +1,19 @@ <?php - namespace Elastica\Rescore; + use Elastica\Param; /** * Abstract rescore object. Should be extended by all rescorers. * - * @category Xodoa - * @package Elastica * @author Jason Hu <mjhu91@gmail.com> - * @link http://www.elasticsearch.org/guide/reference/api/search/rescore/ + * + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-rescore.html */ abstract class AbstractRescore extends Param { - /** - * Overridden to return rescore as name + /** + * Overridden to return rescore as name. * * @return string name */ @@ -24,13 +23,14 @@ abstract class AbstractRescore extends Param } /** - * Sets window_size + * Sets window_size. * * @param int $size - * @return \Elastica\Rescore + * + * @return $this */ public function setWindowSize($size) { return $this->setParam('window_size', $size); } -}
\ No newline at end of file +} |