for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace olvlvl\ElasticsearchDSL\Query\Compound;
class ConstantScoreQuery extends BoolQuery
{
const NAME = 'constant_score';
public function __construct(float $score = 1.0, array $options = [])
parent::__construct([
self::OPTION_BOOST => $score,
] + $options);
}